public void ToForageState() { SetDurations(); critter.navMeshAgent.avoidancePriority = 70; critter.currentState = critter.forageState; }