Пример #1
0
 // Use this for initialization
 void Start()
 {
     current_state = new CExpecting();
 }
Пример #2
0
 // Handles the next state
 public void StateChanged()
 {
     current_state = current_state.GetNextState();
 }