public void ToPatrolState() { enemy.SetPriorityPatrol(true); enemy.PriorityPatrolSetup(); soundStarted = false; enemy.currentState = enemy.patrolState; }