-
Notifications
You must be signed in to change notification settings - Fork 4
BetterPlayerAudioOverrideList
Guribo edited this page Jul 16, 2021
·
1 revision
Assets/Guribo/UdonBetterAudio/Runtime/BetterPlayerAudioOverrideList.cs
The list of BetterPlayerAudioOverrides a single player is currently affected by.
The UdonSharpbehaviour BetterPlayerAudioOverrideList is the component which
- is used by the BetterPlayerAudio component to determine which override to apply to a player
- contains all overrides a single player is currently affected by
- is always sorted by
BetterPlayerAudioOverride.priority
- highest priority override (or last added with same priority) is at the first position in the list
- automatically removes invalid entries when accessed
- contains no duplicates