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