Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How does refrencing work?

$
0
0
Hey, I'm fairly new to Unity and I have never quite understood how refrencing works in it...
I have a object that looks like this:
[​IMG]
And as you can see, I want mainButtons.a == true to change the animation!
My question is: HOW do I access the variable Animation from inside the XController script?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>