internal void DestoryFSMSet(Type type) { FSMBase fsm = null; if (fsmIndividualDict.TryGetValue(type, out fsm)) { fsm.Shutdown(); fsmIndividualDict.Remove(type); } }
public void DestoryIndividualFSM(Type type) { FSMBase fsm = null; if (fsmIndividualDict.TryGetValue(type, out fsm)) { fsm.Shutdown(); fsmIndividualDict.TryRemove(type, out _); } }
public void DestoryFSM(Type type) { FSMBase fsm = null; if (fsmDict.TryGetValue(type, out fsm)) { fsm.Shutdown(); fsmDict.Remove(type); } }
public void DestoryFSM(FSMBase fsm) { fsmSet.Remove(fsm); FsmRefreshHandler -= fsm.OnRefresh; fsm.Shutdown(); }
public void DestoryFSM(FSMBase fsm) { fsmSet.Remove(fsm); fsm.Shutdown(); }