Exemplo n.º 1
0
 public void Update()
 {
     if (currentState != null)
     {
         currentState.StateUpdate();
     }
 }
Exemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     if (activeState != null)
     {
         activeState.StateUpdate();
     }
 }
Exemplo n.º 3
0
 void Update()
 {
     gameState.StateUpdate();
 }