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