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