Skip to content

BetterPlayerAudioOverride

Guribo edited this page Jul 16, 2021 · 2 revisions

BetterPlayerAudioOverride

Assets/Guribo/UdonBetterAudio/Runtime/BetterPlayerAudioOverride.cs

The customizable part of Better Player Audio.

Overview

The UdonSharpbehaviour BetterPlayerAudioOverride is the component which provides custom

  • a priority which determines whether a player is affected when added
  • voice audio settings
  • avatar audio settings
  • occlusion settings
    • player occlusion settings
    • non-player occlusion settings
    • occlusion layers are customizable
  • private channel IDs
  • private channel listening settings
  • can be enabled/disabled to temporarily add/remove its effect from all affected players from the BetterPlayerAudio component
    • players can be added/removed from the component itself even when it is disabled, they will be affected as soon as the component is enabled again