Example #1
0
        /// 破棄
        public override void Term()
        {
            DoTerm();

            if (moveCollMgr != null)
            {
                moveCollMgr.Term();
            }
            if (unitCmnPlay != null)
            {
                unitCmnPlay.Term();
            }
            if (EventCntr != null)
            {
                EventCntr.Clear();
                EventCntr.Term();
            }
            if (interfereCntr != null)
            {
                interfereCntr.Term();
            }

            interfereCntr = null;
            EventCntr     = null;
            moveCollMgr   = null;
            unitCmnPlay   = null;
            dmgTrgObj     = null;
        }
Example #2
0
        /// 破棄
        public override void Term()
        {
            DoTerm();

            if (moveCollMgr != null)
            {
                moveCollMgr.Term();
            }
            if (calCollMove != null)
            {
                calCollMove.Term();
            }
            if (interfereCntr != null)
            {
                interfereCntr.Term();
            }
            if (EventCntr != null)
            {
                EventCntr.Clear();
                EventCntr.Term();
            }

            interfereCntr = null;
            EventCntr     = null;
            moveCollMgr   = null;
            calCollMove   = null;
        }