Click or drag to resize

OnSnappedSetAnimBoolReaction Class

Specify a reaction for when a specific state is reached on a TransformSync Use this on SnapTargets or on a TransformSync itself when snapping to origin is enabled
Inheritance Hierarchy

Namespace:  ImmerseSDK.Interaction.Reactions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public class OnSnappedSetAnimBoolReaction : OnSnappedReaction

The OnSnappedSetAnimBoolReaction type exposes the following members.

Constructors
  NameDescription
Public methodOnSnappedSetAnimBoolReaction
Initializes a new instance of the OnSnappedSetAnimBoolReaction 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_animator
The animator to use
Private field_boolParameterName
The boolean parameter in the animation state machine
Private field_boolValue
The value to set the parameter to
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