private void Awake()
 {
     states = new Dictionary <EBotState, EBotStateBase> ();
     states.Add(EBotState.Listen, new EBotListenState(this));
     states.Add(EBotState.Chase, new EBotChaseState(this));
     currentState = states [EBotState.Listen];
 }
 public void MakeTransition(EBotState state)
 {
     Debug.Log(state);
     currentState = states[state];
     currentState.StartState();
 }