Click or drag to resize

PushButton Methods

The PushButton type exposes the following members.

Methods
  NameDescription
Protected methodAwake (Overrides InteractableObjectAwake.)
Protected methodFixedUpdate
Unity Component Method
(Overrides InteractableObjectFixedUpdate.)
Public methodGetPayload
Returns the payload (byte array). Can be empty array or null.
(Overrides NetworkedPointHandlingObjectGetPayload.)
Protected methodOnLocalEvent
Called when the object is "clicked" (only on local user)
(Overrides NetworkedPointHandlingObjectOnLocalEvent(User, Hands).)
Protected methodOnReceiveEvent
Called when the object is "clicked" (only on both local and remote users)
(Overrides NetworkedPointHandlingObjectOnReceiveEvent(Hands, User, Byte).)
Protected methodStart
Public methodTriggerScreenControlInteract (Overrides InteractableObjectTriggerScreenControlInteract.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also