public override BaseEvent Clone() { NewbieSelectActor newbieSelectActor = ClassObjPool <NewbieSelectActor> .Get(); newbieSelectActor.CopyData(this); return(newbieSelectActor); }
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; }