public void TransitionTo(string stateLabel)
{
if(this.currentState.HasTransition(stateLabel)) {
this.currentState.OnExit();
this.currentState = this.currentState.GetTransitionState(stateLabel);
this.currentState.OnEnter();
}
else {
Debug.LogError("Transition state " +stateLabel+ " does not exist in " +this.currentState.GetLabel());
}
}