C# Class GameFinishedController, Albatross

Inheritance: MonoBehaviour
Show file Open project: xby2/Albatross

Public Properties

Property Type Description
afterMatchScene string
gameOverText GameObject
gameOverTimeScale float
gameState GameStateManager,
showGameOverDuration float
timeManager TimeManager,

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
endMatch ( ) : IEnumerator

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

afterMatchScene public property

Screen to load after the match
public string afterMatchScene
return string

gameOverText public property

Game object to show the game is over
public GameObject gameOverText
return GameObject

gameOverTimeScale public property

The modified timescale of the game during th end game sequence
public float gameOverTimeScale
return float

gameState public property

public GameStateManager, gameState
return GameStateManager,

showGameOverDuration public property

How long to show the end game sequence, in seconds
public float showGameOverDuration
return float

timeManager public property

Game object that manages time left
public TimeManager, timeManager
return TimeManager,