Beispiel #1
0
        public override BaseEvent Clone()
        {
            SetBehaviourModeTick tick = ClassObjPool <SetBehaviourModeTick> .Get();

            tick.CopyData(this);
            return(tick);
        }
Beispiel #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SetBehaviourModeTick tick = src as SetBehaviourModeTick;

            this.targetId          = tick.targetId;
            this.stopMove          = tick.stopMove;
            this.clearMove         = tick.clearMove;
            this.stopCurSkill      = tick.stopCurSkill;
            this.delayStopCurSkill = tick.delayStopCurSkill;
        }