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