コード例 #1
0
        //public  DECLEAR_TRANSITIONWITHDURATION(CCTransitionFadeTR)
        public static new CCTransitionFadeTR transitionWithDuration(float t, CCScene scene)
        {
            CCTransitionFadeTR pScene = new CCTransitionFadeTR();
            if (pScene.initWithDuration(t, scene))
            {
                return pScene;
            }

            return null;
        }
コード例 #2
0
        public static new CCTransitionFadeTR transitionWithDuration(float t, CCScene scene)
        {
            CCTransitionFadeTR cCTransitionFadeTR = new CCTransitionFadeTR();

            if (cCTransitionFadeTR.initWithDuration(t, scene))
            {
                return(cCTransitionFadeTR);
            }
            return(null);
        }
コード例 #3
0
 //public  DECLEAR_TRANSITIONWITHDURATION(CCTransitionFadeTR)
 CCTransitionFadeTR transitionWithDuration(float t, CCScene scene)
 {
     CCTransitionFadeTR pScene = new CCTransitionFadeTR();
     if (pScene != null && pScene.initWithDuration(t, scene))
     {
         return pScene;
     }
     pScene = null;
     return null;
 }
コード例 #4
0
        //public  DECLEAR_TRANSITIONWITHDURATION(CCTransitionFadeTR)
        public new static CCTransitionFadeTR transitionWithDuration(float t, CCScene scene)
        {
            CCTransitionFadeTR pScene = new CCTransitionFadeTR();

            if (pScene.initWithDuration(t, scene))
            {
                return(pScene);
            }

            return(null);
        }