示例#1
0
        public override BaseEvent Clone()
        {
            CheckConditionDuration checkConditionDuration = ClassObjPool <CheckConditionDuration> .Get();

            checkConditionDuration.CopyData(this);
            return(checkConditionDuration);
        }
示例#2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            CheckConditionDuration duration = src as CheckConditionDuration;

            this.trackId        = duration.trackId;
            this.bHitTargetHero = duration.bHitTargetHero;
            this.bTriggerBullet = duration.bTriggerBullet;
        }