Property | Type | Description | |
---|---|---|---|
intro1Clip | |||
intro2Clip | |||
introVolume | float | ||
mainSong1Clip | |||
mainSong2Clip | |||
overlay1Clips | List |
||
overlay2Clips | List |
||
overlayFadeTime | float | ||
overlayMethod | OverlayMethod | ||
overlayVolume | float | ||
playIntro | bool | ||
songNum | int | ||
soundEnabled | bool |
Method | Description | |
---|---|---|
ChangeOverlayMethod ( OverlayMethod newMethod ) : void |
Update the overlay method being used for sound
|
|
HandleCameraSwitch ( ) : void |
Called whenever the camera changes hands.
|
|
PlayNextOverlay ( ) : void |
Plays the next overlay in the list. Loops around to beginning, if reached the end of the list.
|
|
Start ( ) : void |
Use this for initialization
|
|
StartBkgMusic ( ) : void |
Starts the background music
|
|
StartIntroMusic ( ) : void | ||
StopIntroMusic ( ) : void | ||
Update ( ) : void |
Called once every frame
|
public ChangeOverlayMethod ( OverlayMethod newMethod ) : void | ||
newMethod | OverlayMethod | |
return | void |
public AudioClip,UnityEngine mainSong1Clip | ||
return |
public AudioClip,UnityEngine mainSong2Clip | ||
return |