public override BaseEvent Clone() { CallActorTick callActorTick = ClassObjPool <CallActorTick> .Get(); callActorTick.CopyData(this); return(callActorTick); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); CallActorTick callActorTick = src as CallActorTick; this.TargetId = callActorTick.TargetId; this.ConfigId = callActorTick.ConfigId; this.objectSpaceId = callActorTick.objectSpaceId; this.tempIdId = callActorTick.tempIdId; }