Pickup Class |
Namespace: ImmerseSDK.Interaction
public class Pickup : EngageableObject
The Pickup type exposes the following members.
Name | Description | |
---|---|---|
Awake | (Overrides EngageableObjectAwake.) | |
FixedUpdate |
Unity Component Method
(Overrides EngageableObjectFixedUpdate.) | |
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).) | |
ShouldAddDefaultThrowForce |
Returns true if the default throw force should be added (only valid for local disengagements that has authority)
(Overrides EngageableObjectShouldAddDefaultThrowForce.) |
Name | Description | |
---|---|---|
_isThrowable |
Indicates this object can be thrown when picked up. This means we add a slight upwards force on disengagement to make it feel better in VR.
|
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.) |