Skip to main content

Audio Override Manager

The Audio Override Manager is a component responsible for handling different Audio Override Zones.

Audio Override Manager

warning

There can only be one Audio Override Manager in a scene!

Configuration​

Default Zone​

The default zone that is used when players are not in any specific zone.
Used to set up default settings.

Override Zones​

Override Zones is a list of Audio Override Zones that you have in your world.

Debug Options​

Debug State​

A debug state object that will peridocally capture a snapshot of internal state of the object.

Public API​

Network Sync​

This object is not network synced.

Inherited API​

  • UdonSharpBehaviour Public API

Properties​

AudioOverrideZone defaultZone

Get the default AudioOverrideZone

AudioOverrideZone[] overrideZones​

Get the list of linked AudioOverrideZones

AudioOverrideDebug debugState​

Returns the debugState

Methods​

void _SetDebugState( AudioOverrideDebug state )​

Sets the debug state object at runtime, replacing the previous debug state if it exists. Passing null will unasign any current debug state.

void _UpdateZoneData()​

Updates zone data

void _PlayerEnterZone( AudioOverrideZone zone, VRCPlayerApi player )​

Called when a player enters a zone

void _PlayerLeaveZone( AudioOverrideZone zone, VRCPlayerApi player )​

Called when a player leaves a zone

void _RebuildLocal()​

Rebuild local

AudioOverrideZone _FindActiveZone( VRCPlayerApi player )​

Find active zone of a player. Returns null when the player is not in any override zones.