/// <summary> /// functions to define the stak functionality /// </summary> public void PopState() { if (currentState != null) { currentState.OnStateExit(); } }
/// <summary> /// functions to define the stak functionality /// </summary> public void PopState() { if (currentState != null) { currentState.OnStateExit(); } }