![]() |
Adventure Creator
1.76.2
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Member Functions | |
MusicStorage (int[] idArray) | |
The default Constructor. More... | |
void | ShowGUI (string apiPrefix, bool allowMixerGroups) |
Public Attributes | |
int | ID |
string | label |
AudioClip | audioClip |
float | relativeVolume |
AudioMixerGroup | overrideMixerGroup = null |
Properties | |
string | Label [get] |
AC.MusicStorage.MusicStorage | ( | int[] | idArray | ) |
The default Constructor.
idArray | An array of already-used ID numbers, so that a unique one can be generated |
AudioClip AC.MusicStorage.audioClip |
The music's AudioClip
int AC.MusicStorage.ID |
A unique identifier
string AC.MusicStorage.label |
An Editor label
AudioMixerGroup AC.MusicStorage.overrideMixerGroup = null |
If assigned, the AudioMixerGroup to use when this track is played - as opposed to the default. For this to be used, the use of mixer groups must be enabled in the Settings Manager
float AC.MusicStorage.relativeVolume |
The relative volume to play the music at, as a decimal of the global music volume