public override BaseEvent Clone() { PauseGameDuration pauseGameDuration = ClassObjPool <PauseGameDuration> .Get(); pauseGameDuration.CopyData(this); return(pauseGameDuration); }
protected override void CopyData(BaseEvent src) { base.CopyData(src); PauseGameDuration pauseGameDuration = src as PauseGameDuration; this.srcId = pauseGameDuration.srcId; this.bEffectTimeScale = pauseGameDuration.bEffectTimeScale; }