Click or drag to resize

EngageableObjectReaction Class

Base class for Engageable object reactions. Note that if this component or the GameObject it is on is disabled, the reaction will not fire. It is up to you to ensure that the enabled state of these are synchronised between different users.
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.Interaction.ReactionsReaction
              ImmerseSDK.Interaction.ReactionsEngageableObjectReaction
                More...

Namespace:  ImmerseSDK.Interaction.Reactions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public abstract class EngageableObjectReaction : Reaction

The EngageableObjectReaction type exposes the following members.

Constructors
  NameDescription
Protected methodEngageableObjectReaction
Initializes a new instance of the EngageableObjectReaction class
Top
Properties
  NameDescription
Protected propertyTransformSync
TransformSync component for this reaction
Top
Methods
  NameDescription
Protected methodAwake
Unity Component method
(Overrides ReactionAwake.)
Public methodInitialize
Initializes this reaction
Public methodOnEngage
Called when an engage message has been received
Top
Fields
  NameDescription
Private field_controllerReactFilter
Choose if we react only on the first or the second controller, or on any controller
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
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.Interaction.ReactionsReaction
              ImmerseSDK.Interaction.ReactionsEngageableObjectReaction
                ImmerseSDK.Audio.ReactionsOnEngagedAudioTagReaction
                ImmerseSDK.Interaction.ReactionsDialReaction
                ImmerseSDK.Interaction.ReactionsLocalEngageableObjectReaction
                ImmerseSDK.Interaction.ReactionsOnEngagedEnableInput
                ImmerseSDK.Interaction.ReactionsOnEngagedEnableReaction
                ImmerseSDK.Interaction.ReactionsOnEngagedPlaySoundReaction
                ImmerseSDK.Interaction.ReactionsOnSliderReaction