OnSnappedPlaySoundReaction Class |
Namespace: ImmerseSDK.Interaction.Reactions
public class OnSnappedPlaySoundReaction : OnSnappedReaction
The OnSnappedPlaySoundReaction type exposes the following members.
Name | Description | |
---|---|---|
OnSnappedPlaySoundReaction | Initializes a new instance of the OnSnappedPlaySoundReaction class |
Name | Description | |
---|---|---|
React |
This method is called when the reaction occurs. Note this might be called on a Coroutine if you specified a delay.
(Overrides ReactionReact.) |
Name | Description | |
---|---|---|
_audioClip |
The audio clip to play. Can be null, in which case the default audio clip on the source is used
| |
_audioSource |
The audio source to use
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |