Ejemplo n.º 1
0
 private void Crouch()
 {
     crouched = true;
     mover.Crouch();
     Deer[] allDeer = FindObjectsOfType <Deer>();
     foreach (Deer thisDeer in allDeer)
     {
         thisDeer.ChangeDetectionDistance(true);
     }
 }