I need the script to occur as follows:
1 - Player Catch PowerUp, Snakes change state for Flee;
2 - After 5s back to WANDER;
What do you have so far?
This should help part 2:
https://docs.unity3d.com/ScriptReference/MonoBehaviour.Invoke.html
I need the script to occur as follows:
1 - Player Catch PowerUp, Snakes change state for Flee;
2 - After 5s back to WANDER;
What do you have so far?
This should help part 2:
https://docs.unity3d.com/ScriptReference/MonoBehaviour.Invoke.html