C# Class BBGamelib.CCDirector

Inheritance: UIViewController
Datei anzeigen Open project: BigWoodGames/cocos2d-unity Class Usage Examples

Public Methods

Method Description
Reset ( ) : void
ToString ( ) : string
drawScene ( ) : void
end ( ) : void
pause ( ) : void
popScene ( ) : void
presentScene ( CCScene scene ) : void
purgeCachedData ( ) : void
pushScene ( CCScene scene ) : void
replaceScene ( CCScene scene ) : void
resume ( ) : void
runWithScene ( CCScene scene ) : void

Protected Methods

Method Description
CCDirector ( ) : UnityEngine

Private Methods

Method Description
DrawQuad ( Rect position, Color color ) : void
OnGUI ( CADisplayLink sender ) : void
calculateDeltaTime ( ) : void
convertTouchToGL ( UITouch touch ) : Vector2
mainLoop ( CADisplayLink sender ) : void
setNextScene ( ) : void
showState ( ) : void
startAnimation ( ) : void
stopAnimation ( ) : void

Method Details

CCDirector() protected method

protected CCDirector ( ) : UnityEngine
return UnityEngine

Reset() public static method

public static Reset ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

drawScene() public method

public drawScene ( ) : void
return void

end() public method

public end ( ) : void
return void

pause() public method

public pause ( ) : void
return void

popScene() public method

public popScene ( ) : void
return void

presentScene() public method

public presentScene ( CCScene scene ) : void
scene CCScene
return void

purgeCachedData() public method

public purgeCachedData ( ) : void
return void

pushScene() public method

public pushScene ( CCScene scene ) : void
scene CCScene
return void

replaceScene() public method

public replaceScene ( CCScene scene ) : void
scene CCScene
return void

resume() public method

public resume ( ) : void
return void

runWithScene() public method

public runWithScene ( CCScene scene ) : void
scene CCScene
return void