Class AudioBuses
The singleton for managing the Godot Audio Bus with a decent layer of abstraction.
public static class AudioBuses
- Inheritance
-
AudioBuses
- Inherited Members
Fields
FILE_PATH
private const string FILE_PATH = "audio.json"
Field Value
Properties
Volumes
The volumes (dB) for each audio bus track currently loaded
public static float[] Volumes { get; set; }
Property Value
- float[]
Methods
Load()
public static void Load()
SaveSettings()
Saves settings of this singleton out to disk (global scope)
public static void SaveSettings()
UpdateAudioServer()
private static void UpdateAudioServer()