Exemple #1
0
        public override BaseEvent Clone()
        {
            NewbieSelectActor newbieSelectActor = ClassObjPool <NewbieSelectActor> .Get();

            newbieSelectActor.CopyData(this);
            return(newbieSelectActor);
        }
Exemple #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            NewbieSelectActor newbieSelectActor = src as NewbieSelectActor;

            this.ActorType  = newbieSelectActor.ActorType;
            this.bPauseGame = newbieSelectActor.bPauseGame;
            this.configId   = newbieSelectActor.configId;
            this.index      = newbieSelectActor.index;
        }