EasyDial Methods |
The EasyDial type exposes the following members.
Name | Description | |
---|---|---|
Awake | (Overrides EngageableObjectAwake.) | |
GetPayload |
Gets the payload of the message
(Overrides EngageableObjectGetPayload(Boolean).) | |
IncrementAngle |
Set the current Angle of the dial. Range is [0, 360).
| |
OnDrawGizmos |
Unity component method
(Overrides EngageableObjectOnDrawGizmos.) | |
OnReceiveDisengage |
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).) | |
OnReceiveEngage |
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).) | |
SetMaxAngle |
Change the maximum allowed Angle of the dial. Range is [0, 360).
| |
SetMovementAxis |
Change the movement axis of the dial
| |
SetNewAngle |
Set the current Angle of the dial. Range is [0, 360).
| |
ShouldAddDefaultThrowForce |
Returns true if the default throw force should be added (only valid for local disengagements that has authority)
(Overrides EngageableObjectShouldAddDefaultThrowForce.) | |
Start | ||
Update |
Unity Component Method
(Overrides EngageableObjectUpdate.) | |
UpdateRotationFromControllers |
Rotates the gameObject by an amount equal to how much the users hand has moved
|
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.) |