I guess this is a rather basic Question and probably an easy one to solve… but never the less I can’t figure it out:
So I got this Animation for my 2D character to move, and I want a boolean to change after the animation is done.
It looks something like this:
(This script refrences to my main one)
if ((mainScript.toRight)&&(mainScript.walk))
currentAnimationType = AnimationType.WalkRight;
randomBoolean = true; // after the animation finished
But it doesn’t seem to work that way…
Any advice?