Hey,
I’ve done this before but I can’t seem to get it working this time, not sure if it’s because I’m dealing with Enums or I’ve just messed up the code.
Here’s my update()
if (transform.localScale.x > 1.1 && isCreated == false )
{
//Debug.Log("this is happening");
nanoStage1States = NanoStage1States.Level2;
isCreated = true;
}
the isCreated = true, isnt sticking or something, because It’s running the NanoStage1States.Level2; continuously. I just want it to run once.
Thanks!