public static CCTransitionFade transitionWithDuration(float duration, CCScene scene, ccColor3B color) { CCTransitionFade cCTransitionFade = new CCTransitionFade(); cCTransitionFade.initWithDuration(duration, scene, color); return(cCTransitionFade); }
/// <summary> /// creates the transition with a duration and with an RGB color /// Example: FadeTransition::transitionWithDuration(2, scene, ccc3(255,0,0); // red color /// </summary> public static CCTransitionFade transitionWithDuration(float duration, CCScene scene, ccColor3B color) { CCTransitionFade pTransition = new CCTransitionFade(); pTransition.initWithDuration(duration, scene, color); return(pTransition); }
/// <summary> /// creates the transition with a duration and with an RGB color /// Example: FadeTransition::transitionWithDuration(2, scene, ccc3(255,0,0); // red color /// </summary> public static CCTransitionFade transitionWithDuration(float duration, CCScene scene, ccColor3B color) { CCTransitionFade pTransition = new CCTransitionFade(); pTransition.initWithDuration(duration, scene, color); return pTransition; }