public AState GetTransitionState(string stateLabel) { if(this.HasTransition(stateLabel)) { return this.transitionStates[stateLabel]; } else { Debug.LogError(stateLabel + " not found as transition state in " +this.stateLabel+ "."); return null; } }