Click or drag to resize

OnSliderToPlaySoundReaction Class

React to slider values changing
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.Interaction.ReactionsReaction
              ImmerseSDK.Interaction.ReactionsEngageableObjectReaction
                ImmerseSDK.Interaction.ReactionsOnSliderReaction
                  ImmerseSDK.Interaction.ReactionsOnSliderToPlaySoundReaction

Namespace:  ImmerseSDK.Interaction.Reactions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public class OnSliderToPlaySoundReaction : OnSliderReaction

The OnSliderToPlaySoundReaction type exposes the following members.

Constructors
  NameDescription
Public methodOnSliderToPlaySoundReaction
Initializes a new instance of the OnSliderToPlaySoundReaction class
Top
Methods
Fields
  NameDescription
Private field_audioClip
The audio clip to play. Can be null, in which case the default audio clip on the source is used
Private field_audioSource
The AudioSource to use
Private field_pitchModulation
modulation value (scalar)
Private field_useSliderValueForPitch
Use the slider value for the pitch
Private field_useSliderValueForVolume
Use the value for the volume
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