Ejemplo n.º 1
0
 public void Update()
 {
     if (_currentState != null)
     {
         _currentState.Update();
     }
     else
     {
         Debug.LogError("Current state not set yet");
     }
 }