Skip to content

SyncedPlayerAudioConfigurationModel

Guribo edited this page Jul 3, 2026 · 2 revisions

SyncedPlayerAudioConfigurationModel

Packages/tlp.udonvoiceutils/Runtime/Core/SyncedPlayerAudioConfigurationModel.cs

Synchronized configuration model — instance master controls settings for all players.

Overview

Extends PlayerAudioConfigurationModel with network synchronization. Ownership is always held by the instance master.

Behavior

  • Uses BehaviourSyncMode.Manual — settings are synced via RequestSerialization()
  • Ownership automatically transfers to the current master
  • Non-master players receive the master's settings
  • If ownership leaves master, it is automatically returned

Use Case

When the instance master wants to control audio settings for all players (e.g., a stage performance where the host sets volume levels).

Setup

  1. Add SyncedPlayerAudioConfigurationModel to the scene
  2. Set AllowMasterControlLocalValues = true on the model
  3. Players opt in to master control via the settings menu

See Also

Clone this wiki locally