Subclass of Ovr.OvrNode
This Node is used to manage the most common interactions with the Unity Audio Component.
It requires an AudioSource to be set up, see Unity Manual for more info.
Based on the action the AudioSource is required to perform, this component changes its behavior and requirements.
The OVER SDK provides several ways to interact with Unity AudioSource Component. A list can be found in OvrAudioActionType.
Sets an AudioClip to the AudioSource and plays it at a given position in world space, defined by an OvrVector3.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
Plays the clip at a specific time, on the absolute time-line of the Audio system.
The AudioClip must be present in the AudioSource parameters.
Note: the following attributes are added to the existing ones from the super class OvrNode
Execute the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
AudioSource
Unity AudioSource Component
ActionType
Action type [PlayClipAtPoint]
Time
Time at which play to clip
AudioSource
Unity AudioSource Component
ActionType
Action type [UnityAction]
UnityAction
UnityAction
UnityAction to be invoked
AudioSource
Unity AudioSource Component
ActionType
Action type [PlayClipAtPoint]
Clip
Unity 3D AudioClip
Position
Position in space
Volume
Audio volume
PlayClipAtPoint
Plays an Audio Clip in a specific 3D point.
PlayScheduled
Plays a scheduled Audio Clip
UnityAction
Fires a UnityAction