예제 #1
0
        public override BaseEvent Clone()
        {
            PauseGameDuration pauseGameDuration = ClassObjPool <PauseGameDuration> .Get();

            pauseGameDuration.CopyData(this);
            return(pauseGameDuration);
        }
예제 #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            PauseGameDuration pauseGameDuration = src as PauseGameDuration;

            this.srcId            = pauseGameDuration.srcId;
            this.bEffectTimeScale = pauseGameDuration.bEffectTimeScale;
        }