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:
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?
I have a object that looks like this:
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?