public override BaseEvent Clone()
        {
            RotateActorDuration rotateActorDuration = ClassObjPool <RotateActorDuration> .Get();

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

            this.targetId     = rotateActorDuration.targetId;
            this.rotateSpeed  = rotateActorDuration.rotateSpeed;
            this.lastTime     = rotateActorDuration.lastTime;
            this.actorTarget  = rotateActorDuration.actorTarget;
            this.destDir      = rotateActorDuration.destDir;
            this.bNeedRotate  = rotateActorDuration.bNeedRotate;
            this.curRotateSpd = rotateActorDuration.curRotateSpd;
        }