ToggleSwitchReaction Class |
Namespace: ImmerseSDK.Interaction.Reactions
The ToggleSwitchReaction type exposes the following members.
Name | Description | |
---|---|---|
ToggleSwitchReaction | Initializes a new instance of the ToggleSwitchReaction class |
Name | Description | |
---|---|---|
InvertSwitchValue |
If this is true, then we will invert the switch value before using it
| |
Switch |
The toggleSwitch that this reaction belongs to
|
Name | Description | |
---|---|---|
Awake |
Unity component method
(Overrides ReactionAwake.) | |
OnSwitch |
Called when the switch is switched on or off
|
Name | Description | |
---|---|---|
_invertSwitchValue |
If this is true, then we will invert the switch value before using it
|
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.) |