Example #1
0
        public override BaseEvent Clone()
        {
            MainCameraLookAt mainCameraLookAt = ClassObjPool <MainCameraLookAt> .Get();

            mainCameraLookAt.CopyData(this);
            return(mainCameraLookAt);
        }
Example #2
0
        protected override void CopyData(BaseEvent src)
        {
            base.CopyData(src);
            MainCameraLookAt mainCameraLookAt = src as MainCameraLookAt;

            this.srcId    = mainCameraLookAt.srcId;
            this.targetId = mainCameraLookAt.targetId;
        }