OnSliderToPlaySoundReaction Class |
Namespace: ImmerseSDK.Interaction.Reactions
public class OnSliderToPlaySoundReaction : OnSliderReaction
The OnSliderToPlaySoundReaction type exposes the following members.
Name | Description | |
---|---|---|
OnSliderToPlaySoundReaction | Initializes a new instance of the OnSliderToPlaySoundReaction class |
Name | Description | |
---|---|---|
Awake |
Unity Component Method
(Overrides EngageableObjectReactionAwake.) | |
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 AudioSource to use
| |
_pitchModulation |
modulation value (scalar)
| |
_useSliderValueForPitch |
Use the slider value for the pitch
| |
_useSliderValueForVolume |
Use the value for the volume
|
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.) |