Click or drag to resize

PushButton Methods

The PushButton type exposes the following members.

Methods
  NameDescription
Protected methodAwake
Unity component method
(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(Avatar, Hands).)
Protected methodOnReceiveEvent
Called when the object is "clicked" (only on both local and remote users)
(Overrides NetworkedPointHandlingObjectOnReceiveEvent(Avatar, Hands, UserID, Byte).)
Protected methodStart
Unity component method
(Overrides IndexedMonoBehaviourStart.)
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 MethodGetObjectIndex
Gets the index from the IndexedMonoBehaviour
(Defined by GUID.)
Public Extension MethodGetOwner
Gets the owner id from the IndexedMonoBehaviour
(Defined by GUID.)
Public Extension MethodGetOwnerType
Gets the owner type from the IndexedMonoBehaviour
(Defined by GUID.)
Public Extension MethodGetScene
Gets the scene id from the IndexedMonoBehaviour
(Defined by GUID.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also