Esempio n. 1
0
 public void OnUpdate()
 {
     if (transform.localPosition.y < -10)
     {
         Reset();
     }
     if (character.eyesCamera.state == CharacterEyesCamera.states.SUBJECTIVE)
     {
         if (inputManager.forward > 0)
         {
             actions.WalkStraight();
         }
         else
         {
         }
         //StopMoving();
     }
 }