コード例 #1
0
        public override BaseEvent Clone()
        {
            SkillInputCacheDuration duration = ClassObjPool <SkillInputCacheDuration> .Get();

            duration.CopyData(this);
            return(duration);
        }
コード例 #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SkillInputCacheDuration duration = src as SkillInputCacheDuration;

            this.targetId   = duration.targetId;
            this.cacheSkill = duration.cacheSkill;
            this.cacheMove  = duration.cacheMove;
        }