Skip to main content

CCTransitionScene

CCTransitionScene

Cocos2D

Inheritance: System.Object → Cocos2D.CCNode → Cocos2D.CCScene

Implements: Cocos2D.ICCSelectorProtocol, Cocos2D.ICCFocusable, Cocos2D.ICCTargetedTouchDelegate, Cocos2D.ICCStandardTouchDelegate, Cocos2D.ICCTouchDelegate, Cocos2D.ICCKeypadDelegate, Cocos2D.ICCKeyboardDelegate, Cocos2D.ICCRGBAProtocol, System.Collections.Generic.IComparer{Cocos2D.CCNode}

Constructors

CCTransitionScene()

CCTransitionScene()()

CCTransitionScene(float, CCScene)

CCTransitionScene(float, CCScene)(System.Single t, Cocos2D.CCScene scene)
Parameters:
t (System.Single)
scene (Cocos2D.CCScene)

Fields

m_bIsInSceneOnTop(System.Boolean)
m_bIsSendCleanupToScene(System.Boolean)
m_fDuration(System.Single)
m_pInScene(Cocos2D.CCScene)
m_pOutScene(Cocos2D.CCScene)

Properties

IsTransition(System.Boolean)

Returns false always unless this is a transition scene.

Methods

Cleanup()

Cleanup()()
Example

Draw()

Draw()()

This is called from the Visit() method. This is where you DRAW your node. Only draw stuff from this method call.

Example

Finish()

Finish()()

HideOutShowIn()

HideOutShowIn()()

InitWithDuration(float, CCScene)

System.Boolean InitWithDuration(float, CCScene)(System.Single t, Cocos2D.CCScene scene)
Parameters:
t (System.Single)
scene (Cocos2D.CCScene)
Returns:
System.Boolean

OnEnter()

OnEnter()()
Example

OnExit()

OnExit()()
Example

Reset(float, CCScene)

Reset(float, CCScene)(System.Single t, Cocos2D.CCScene scene)
Parameters:
t (System.Single)
scene (Cocos2D.CCScene)

SceneOrder()

SceneOrder()()