Exemplo n.º 1
0
 public void Enter(Cow cow)
 {
     _cow = cow;
     _cow._navMeshAgent.speed = _cow.animalStats.chaseSpeed;
     _cow.isFleeState         = true;
     _cow.FleeTarget(_cow.target.transform);
 }