Skip to content

PickupMicrophone

Guribo edited this page Jul 16, 2021 · 1 revision

PickupMicrophone

Assets/Guribo/UdonBetterAudio/Runtime/Examples/PickupMicrophone.cs

A very simple microphone that adds the player holding it to a BetterPlayerAudioOverride.

Overview

The UdonSharpbehaviour PickupMicrophone is a component which

  • can be added to gameobjects with a VRC_Pickup component
  • affects the holder of the pickup with the corresponding BetterPlayerAudioOverride
  • synchronizes adding/removing players to the BetterPlayerAudioOverride for all players and late-joiners of the current instance