public override BaseEvent Clone() { DestroyActorTick destroyActorTick = ClassObjPool <DestroyActorTick> .Get(); destroyActorTick.CopyData(this); return(destroyActorTick); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); DestroyActorTick destroyActorTick = src as DestroyActorTick; this.TargetId = destroyActorTick.TargetId; }