Esempio n. 1
0
 public void Enter()
 {
     water.Eaten(consumingRate, animal);
     animal.RecordAgentState(ref agent);
     agent.SetDestination(water.gameObject.transform.position);
     // Debug.Log(animal.name + " start eating");
     animal.SetBusy(BaseAnimal.BusyType.Ingesting);
 }