Exemplo n.º 1
0
        public override BaseEvent Clone()
        {
            ReviveTimerTick reviveTimerTick = ClassObjPool <ReviveTimerTick> .Get();

            reviveTimerTick.CopyData(this);
            return(reviveTimerTick);
        }
Exemplo n.º 2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            ReviveTimerTick reviveTimerTick = src as ReviveTimerTick;

            this.targetId = reviveTimerTick.targetId;
            this.yOffset  = reviveTimerTick.yOffset;
        }