private void OnDisableCharacterView() { m_isRefreshGlobalManager = false; foreach (KeyValuePair <eViewType, ISubCharacterViewer> keyValuePair in m_characterViewerDic) { keyValuePair.Value.OnDisable(); } m_curFsmStateSet = null; m_selectFsmStateElement = null; m_actorInfoList.Clear(); m_characterViewerDic.Clear(); if (m_actorRootLook != null) { Global.CameraMgr.DestoryTarget(); Global.GameMgr.DestroyCombat(m_actorRootLook.Uid); m_actorRootLook = null; if (m_currentSubCharacterViewer != null) { m_currentSubCharacterViewer.ChangeActor(null); } } }
public void AddStateSet(FSMStateSet set) { FsmStateSetList.Add(set); }
private void SelectStateSet(FSMStateSet fsmStateSet) { //m_selectFsmStateSet = fsmStateSet; }