protected override void CopyData(BaseEvent src) { base.CopyData(src); TimeScalerDuration timeScalerDuration = src as TimeScalerDuration; this.TimeScale = timeScalerDuration.TimeScale; }
public override BaseEvent Clone() { TimeScalerDuration timeScalerDuration = ClassObjPool <TimeScalerDuration> .Get(); timeScalerDuration.CopyData(this); return(timeScalerDuration); }