AudioOptions Class
Configuration options for the audio system.
public class AudioOptions
Inheritance System.Object → AudioOptions
| Properties | |
|---|---|
| Enabled | Gets or sets whether audio is enabled. Set to false to disable all audio. |
| MasterVolume | Gets or sets the master volume (0.0 to 1.0). Defaults to 1.0. |
| MaxTracks | Gets or sets the maximum number of concurrent sound-effect tracks. Up to two additional tracks are reserved internally for music playback (one active + one crossfade), so these do not count against this limit. Must be between 1 and 32. Defaults to 8. |
| MusicVolume | Gets or sets the default music volume (0.0 to 1.0). Defaults to 0.7. |
| SoundVolume | Gets or sets the default sound effect volume (0.0 to 1.0). Defaults to 1.0. |