Example #1
0
        public override BaseEvent Clone()
        {
            NewbiekillActor newbiekillActor = ClassObjPool <NewbiekillActor> .Get();

            newbiekillActor.CopyData(this);
            return(newbiekillActor);
        }
Example #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            NewbiekillActor newbiekillActor = src as NewbiekillActor;

            this.ActorType  = newbiekillActor.ActorType;
            this.bPauseGame = newbiekillActor.bPauseGame;
            this.configId   = newbiekillActor.configId;
            this.index      = newbiekillActor.index;
            this.hideActor  = newbiekillActor.hideActor;
        }