Click or drag to resize

EasyDial Methods

The EasyDial type exposes the following members.

Methods
  NameDescription
Protected methodAwake
Public methodGetPayload
Gets the payload of the message
(Overrides EngageableObjectGetPayload(Boolean).)
Public methodIncrementAngle
Set the current Angle of the dial. Range is [0, 360).
Protected methodOnDrawGizmos
Unity component method
(Overrides EngageableObjectOnDrawGizmos.)
Protected methodOnReceiveDisengage
Called when an object engagement ends (when network message is received). Note: All users (local and remote) will receive this.
(Overrides EngageableObjectOnReceiveDisengage(Avatar, Hands, UserID, Byte).)
Protected methodOnReceiveEngage
Called when an object engagement starts (when network message is received). Note: All users (local and remote) will receive this.
(Overrides EngageableObjectOnReceiveEngage(Avatar, Hands, UserID, Byte).)
Public methodSetMaxAngle
Change the maximum allowed Angle of the dial. Range is [0, 360).
Public methodSetMovementAxis
Change the movement axis of the dial
Public methodSetNewAngle
Set the current Angle of the dial. Range is [0, 360).
Protected methodShouldAddDefaultThrowForce
Returns true if the default throw force should be added (only valid for local disengagements that has authority)
(Overrides EngageableObjectShouldAddDefaultThrowForce.)
Protected methodStart
Protected methodUpdate
Unity Component Method
(Overrides EngageableObjectUpdate.)
Protected methodUpdateRotationFromControllers
Rotates the gameObject by an amount equal to how much the users hand has moved
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