Пример #1
0
        public virtual void Clear()
        {
            RemoveBoard();
            RemoveEffect();

            m_AIFeatures?.Clear();
            m_ActorStates?.Clear();

            m_Enemys?.Clear();
            m_Allys?.Clear();
            m_Targets?.Clear();

            m_ActorAI?.Clear();
            m_ActorBuff?.Clear();
            m_ActorSkill?.Clear();
            m_CommandReceiver?.Clear();

            m_ActorAI         = null;
            m_ActorBuff       = null;
            m_ActorCard       = null;
            m_ActorSkill      = null;
            m_CommandReceiver = null;
            GameEntry.Fsm.DestroyFsm(m_ActorFsm);
        }
Пример #2
0
 public virtual void Destory()
 {
     m_ActorAI.Clear();
 }