ToggleSwitch Methods |
The ToggleSwitch type exposes the following members.
Name | Description | |
---|---|---|
Awake |
Unity component method
(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(Avatar, Hands).) | |
OnReceiveEvent |
Called when the object is "clicked" (only on both local and remote users)
(Overrides NetworkedPointHandlingObjectOnReceiveEvent(Avatar, Hands, UserID, Byte).) |
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
GetObjectIndex |
Gets the index from the IndexedMonoBehaviour
(Defined by GUID.) | |
GetOwner |
Gets the owner id from the IndexedMonoBehaviour
(Defined by GUID.) | |
GetOwnerType |
Gets the owner type from the IndexedMonoBehaviour
(Defined by GUID.) | |
GetScene |
Gets the scene id from the IndexedMonoBehaviour
(Defined by GUID.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |