ImmerseSDK.Audio.Reactions Namespace |
Class | Description | |
---|---|---|
AreaAudioTagReaction |
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 game object in the scene.
- Ensure the game object has one or more trigger colliders attached.
- Configure the AudioTagSettings OnEnter and OnExit properties.
Notes: To allow teleporting into and out of the area, you will need to override the default teleport raycast layermask.
See FreeTeleportSettingsConfig for more details about how to do this.
| |
OnEngagedAudioTagReaction |
A engagement based reaction that can change the local user's audio tags when the grab or let go of an object.
Usage:
- Attach to any engageable object
- Configure either of the 'Audio Tag Settings' properties
| |
OnPushButtonAudioTagReaction |
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.
|