/// <summary> /// 完结,状态机进入最终状态 /// </summary> public void Final() { if (CurrentData != null) { CurrentData.OnFinal(); } SwitchState(_finalState); }
/// <summary> /// 完结,状态机进入最终状态 /// </summary> public void Final() { if (CurrentData != null) { CurrentData.OnFinal(); } SwitchState(_finalState); }