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); }
public static new CCTransitionScene transitionWithDuration(float t, CCScene scene) { return(CCTransitionFade.transitionWithDuration(t, scene, new ccColor3B())); }
/// <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; }