![]() | OnToggleSwitchEnableReaction Class |
Namespace: ImmerseSDK.Interaction.Reactions
public class OnToggleSwitchEnableReaction : ToggleSwitchReaction
The OnToggleSwitchEnableReaction type exposes the following members.
Name | Description | |
---|---|---|
![]() | OnToggleSwitchEnableReaction | Initializes a new instance of the OnToggleSwitchEnableReaction class |
Name | Description | |
---|---|---|
![]() | React |
This method is called when the reaction occurs. Note this might be called on a Coroutine if you specified a delay.
(Overrides ReactionReact.) |
Name | Description | |
---|---|---|
![]() | _turnOff |
These objects will be deactivated
|
![]() | _turnOn |
These objects will be set to active
|
![]() | _whenSwitchIsOn |
If this is true, then the reaction is fired when the switched is turned on, otherwise it is fired when the switch is turned off.
|
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.) |