Click or drag to resize

OnPushButtonAudioTagReaction Class

A trigger based reaction that can change the local user's audio tags when they enter or exit an area. Usage: - Attach this component to any push button in the scene. - Configure Audio Tag Settings property. - By default this reaction will react when the button is pressed, but you can tick the 'On Button Released' checkbox to trigger the reaction on release instead.
Inheritance Hierarchy

Namespace:  ImmerseSDK.Audio.Reactions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public class OnPushButtonAudioTagReaction : PushButtonReaction

The OnPushButtonAudioTagReaction type exposes the following members.

Constructors
  NameDescription
Public methodOnPushButtonAudioTagReaction
Initializes a new instance of the OnPushButtonAudioTagReaction class
Top
Methods
  NameDescription
Protected methodReact
This method is called when the reaction occurs. Note this might be called on a Coroutine if you specified a delay.
(Overrides ReactionReact.)
Top
Fields
  NameDescription
Private field_audioTagSettings
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