AudioCategory Class |
Namespace: (Default Namespace)
[SerializableAttribute] public class AudioCategory
The AudioCategory type exposes the following members.
Name | Description | |
---|---|---|
AudioCategory |
Instantiates an AudioCategory
|
Name | Description | |
---|---|---|
audioController |
The AudioController the category belongs to
| |
isFadeOutComplete |
return true if the category has completely faded out
| |
isFadingIn |
return true if the category is currently fading in
| |
isFadingOut |
return true if the category is currently fading out
| |
parentCategory |
If a parent category is specified, the category inherits the volume of its parent.
| |
Volume |
The volume factor applied to all audio items in the category (NOT including a possible parentCategory)
If you change the volume by script the change will be applied to all
playing audios immediately.
| |
VolumeTotal |
The volume factor applied to all audio items in the category (including a possible parentCategory and fade out/in)
|
Name | Description | |
---|---|---|
FadeIn |
Starts a fade-in of the audio category.
| |
FadeOut |
Starts a fade-out of the audio category.
| |
GetAudioMixerGroup |
Retrieves the AudioMixerGroup associated with this category. AudioMixerGroupa are inherited by the parent category.
| |
GetAudioObjectPrefab |
Retrieves the AudioObjectPrefab associated with this category. AudioObjectPrefabs are inherited by the parent category.
| |
UnloadAllAudioClips |
Unloads all AudioClips specified in the subitems from memory.
|
Name | Description | |
---|---|---|
AudioItems |
Define your AudioItems using Unity inspector.
| |
audioMixerGroup |
Allows to assign the category to a Unity 5 Audio Mixer Group
| |
AudioObjectPrefab |
Allows to define a specific audio object prefab for this category. If none is defined,
the default prefab as set by AudioObjectPrefab is taken.
| |
Name |
The name of category ( = categoryID )
|