Skip to content

EmitterRegistry

Guribo edited this page Jul 5, 2026 · 1 revision

EmitterRegistry

Advanced — Internal component. World builders typically do not need this page.

Packages/tlp.udonvoiceutils/Runtime/Core/WorldAudio/EmitterRegistry.cs

Maintains the set of active audio emitters registered with the importance system.

Overview

EmitterRegistry tracks which OccludedEmitter components are active in the scene. When emitters are added or removed, the registry rebuilds its internal array and notifies the importance system.

Part of the WorldAudio subsystem. Used internally by WorldAudioController — world creators do not interact with this component directly.

Behavior

  • Emitters register themselves automatically on startup
  • Emitters unregister themselves automatically when destroyed
  • The registry rebuilds its emitter array when the set changes
  • Invalid/destroyed emitters are filtered out during rebuild

Important Limitation

Do not directly control this component. It is managed by the WorldAudio system. Emitters register and unregister themselves automatically.

Related

Clone this wiki locally