示例#1
0
 void Update()
 {
     if (player == null)
     {
         return;
     }
     currentState.UpdateState();
 }
示例#2
0
 // Update is called once per frame
 void Update()
 {
     currentState.UpdateState();
 }