Access variables from another script

Updated on November 14, 2017 in [A] Unity Scripting
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on November 14, 2017

Trying to detect player with security camera and then make monster chase the player. Monster AI basically made of states so the right one I want is state chase string, like this.

I get NullException error where I’m assigning new state string chase value, how to access it and changed it?

  • Liked by
0 on November 14, 2017

abracadabra HERE YOU GO THE SOLUTION: “”

We are not and never will be magicians, without sufficient information we can’t help you, or research at that.

  • Liked by