Ejemplo n.º 1
0
        public override BaseEvent Clone()
        {
            SetCameraHeightDuration setCameraHeightDuration = ClassObjPool <SetCameraHeightDuration> .Get();

            setCameraHeightDuration.CopyData(this);
            return(setCameraHeightDuration);
        }
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            SetCameraHeightDuration setCameraHeightDuration = src as SetCameraHeightDuration;

            this.slerpTick     = setCameraHeightDuration.slerpTick;
            this.cutBackOnExit = setCameraHeightDuration.cutBackOnExit;
            this.setFinished   = setCameraHeightDuration.setFinished;
            this.heightRate    = setCameraHeightDuration.heightRate;
        }