public GetTransitionState ( string stateLabel ) : AState, | ||
stateLabel | string | |
return | AState, |
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;
}
}