ToggleSwitch Class |
Namespace: ImmerseSDK.Interaction
public class ToggleSwitch : InteractableObject
The ToggleSwitch type exposes the following members.
Name | Description | |
---|---|---|
ToggleSwitch | Initializes a new instance of the ToggleSwitch class |
Name | Description | |
---|---|---|
Awake | (Overrides InteractableObjectAwake.) | |
GetPayload |
Gets the message payload for this component
(Overrides NetworkedPointHandlingObjectGetPayload.) | |
OnLocalEvent |
Called when the object is "clicked" (only on local user)
(Overrides NetworkedPointHandlingObjectOnLocalEvent(User, Hands).) | |
OnReceiveEvent |
Called when the object is "clicked" (only on both local and remote users)
(Overrides NetworkedPointHandlingObjectOnReceiveEvent(Hands, User, Byte).) |
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.) |