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