C# Class Rhythm, ggj16

Inheritance: MonoBehaviour
Show file Open project: amzeratul/ggj16 Class Usage Examples

Public Methods

Method Description
FadeInLayer ( int layer ) : void
FadeLayerTowards ( int layer, float volume ) : void
Register ( Listener, listener, float headsUp ) : void
Remove ( Listener, listener ) : void
StartRunning ( ) : void
StopRunning ( ) : void

Protected Methods

Method Description
Awake ( ) : void
Update ( ) : void

Private Methods

Method Description
DoStop ( ) : IEnumerator
FadeOutLayer ( int layer ) : void
PlayMusic ( float delay, float firstBeat, float bpm ) : void
ToggleLayer ( int layer ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

FadeInLayer() public method

public FadeInLayer ( int layer ) : void
layer int
return void

FadeLayerTowards() public method

public FadeLayerTowards ( int layer, float volume ) : void
layer int
volume float
return void

Register() public method

public Register ( Listener, listener, float headsUp ) : void
listener Listener,
headsUp float
return void

Remove() public method

public Remove ( Listener, listener ) : void
listener Listener,
return void

StartRunning() public method

public StartRunning ( ) : void
return void

StopRunning() public method

public StopRunning ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void