Click or drag to resize

AudioTagsService Methods

The AudioTagsService type exposes the following members.

Methods
  NameDescription
Public methodCanCommunicateOneWay
Determines whether one user (the speaker) can be heard by another user (the listener). This is done by checking if any tag on the speakers speaking channel matches any audio Tag on the listeners listening channel.
Public methodCanCommunicateTwoWay
Determines whether two users can both hear each other. This is done by checking if both users have at a audio Tag in their listening channel that matches a audio Tag in the other users speaking channel.
Public methodCoroutineInitialise
Override this to perform initialisation tasks This coroutine is started in Awake(). To execute code in Awake(), override OnAwake()
(Overrides SingletonBehaviourCoroutineInitialise.)
Protected methodOnAwake
Override this method to call code in the Awake() method (after singleton registration, but before coroutine)
(Overrides SingletonBehaviourOnAwake.)
Public methodUpdateAudioTags(AudioTagsChannelSettings)
Updates the audio tags assigned to the local user using the provided settings object.
Public methodUpdateAudioTags(AudioTagDefinition, AudioTagMode, AudioTagChannel)
Updates the audio tags assigned to the local user using the provided settings.
Public methodUpdateAudioTags(AudioTagDefinition, AudioTagMode, AudioTagChannel)
Updates the audio tags assigned to the local user using the provided settings.
Public methodUpdateAudioTags(AudioTagDefinition, AudioTagMode, AudioTagChannel)
Updates the audio tags assigned to the local user using the provided settings.
Public methodUpdateAudioTags(AudioTagDefinition, AudioTagMode, AudioTagChannel)
Updates the audio tags assigned to the local user using the provided settings.
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also