public override BaseEvent Clone() { ChangeActorMeshTick changeActorMeshTick = ClassObjPool <ChangeActorMeshTick> .Get(); changeActorMeshTick.CopyData(this); return(changeActorMeshTick); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); ChangeActorMeshTick changeActorMeshTick = src as ChangeActorMeshTick; this.targetId = changeActorMeshTick.targetId; this.prefabName = changeActorMeshTick.prefabName; }