예제 #1
0
    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);
            }
        }
    }
예제 #2
0
 public void AddStateSet(FSMStateSet set)
 {
     FsmStateSetList.Add(set);
 }
예제 #3
0
 private void SelectStateSet(FSMStateSet fsmStateSet)
 {
     //m_selectFsmStateSet = fsmStateSet;
 }