public void ToExitState() { critter.prey = null; critter.navMeshAgent.avoidancePriority = 0; critter.currentState = critter.exitState; }