C# Class MainGame, otterspace

Inheritance: MonoBehaviour
Show file Open project: dimo2/otterspace Class Usage Examples

Public Properties

Property Type Description
GamePrefab GameObject
isHighscore bool
menuScreen GameObject
score float
scoreScreen GameObject

Public Methods

Method Description
EndGame ( float newScore ) : void
OnGUI ( ) : void
Start ( ) : void
StartGame ( ) : void

Private Methods

Method Description
Highscore ( float newScore ) : void

Method Details

EndGame() public method

public EndGame ( float newScore ) : void
newScore float
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartGame() public method

public StartGame ( ) : void
return void

Property Details

GamePrefab public property

public GameObject GamePrefab
return GameObject

isHighscore public property

public bool isHighscore
return bool

menuScreen public property

public GameObject menuScreen
return GameObject

score public property

public float score
return float

scoreScreen public property

public GameObject scoreScreen
return GameObject