void FixedUpdate()
 {
     chosenScript.InvokeState();
     if (transform.position.y < 0)
     {
         Die();
     }
 }
示例#2
0
 void FixedUpdate()
 {
     chosenScript.InvokeState();
     // state = chosenScript.GetState();
     // Debug.Log($"state {state}");
 }