コード例 #1
0
        public override object Copy(ICCCopyable pZone)
        {
            CCBRotateYTo pRet;

            if (pZone != null)
            {
                pRet = (CCBRotateYTo)(pZone);
            }
            else
            {
                pRet  = new CCBRotateYTo();
                pZone = (pRet);
            }

            pRet.InitWithDuration(m_fDuration, _dstAngle);
            base.Copy(pZone);
            return(pRet);
        }
コード例 #2
0
        public override object Copy(ICCCopyable pZone)
        {
            CCBRotateYTo pRet;

            if (pZone != null)
            {
                pRet = (CCBRotateYTo)(pZone);
            }
            else
            {
                pRet = new CCBRotateYTo();
                pZone = (pRet);
            }

            pRet.InitWithDuration(m_fDuration, _dstAngle);
            base.Copy(pZone);
            return pRet;
        }