OnSnappedReaction Class |
Namespace: ImmerseSDK.Interaction.Reactions
The OnSnappedReaction type exposes the following members.
Name | Description | |
---|---|---|
OnSnappedReaction | Initializes a new instance of the OnSnappedReaction class |
Name | Description | |
---|---|---|
Awake |
Unity Component method
(Overrides ReactionAwake.) | |
Initialize |
Called to initialise the reaction and bind it to it's owning TransformSync. This does not happen in Awake() method since the order Unity calls awake methods is not deterministic, so this object might not have it's Awake called after the TransformSync's Awake()
|
Name | Description | |
---|---|---|
_anySnapTarget |
React on any target snapped
| |
_reactOnStartState |
React when the reaction is initialised
| |
_whenUnsnapped |
React when unsnapped instead of when snapped
|
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.) |