Click or drag to resize

OnSliderToImageFillReaction 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.ReactionsOnSliderToImageFillReaction

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

The OnSliderToImageFillReaction type exposes the following members.

Constructors
  NameDescription
Public methodOnSliderToImageFillReaction
Initializes a new instance of the OnSliderToImageFillReaction class
Top
Methods
  NameDescription
Protected methodReact
This method is called when the reaction occurs. Note this might be called on a Coroutine if you specified a delay.
(Overrides ReactionReact.)
Top
Fields
  NameDescription
Private field_image
The image to modify
Private field_valueMultiplier
A multiplier to apply to the value before setting the fill amount
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