/// <inheritdoc /> public bool ExecuteNextTransition() { if (NextTransition != null) { NextTransition.Execute(); NextTransition = null; return(true); } return(ActiveState != null && ActiveState.ExecuteNextTransition()); }