Click or drag to resize

Pickup Class

Enables this object to be picked up. Watch our training videos covering Pickup objects here
Inheritance Hierarchy

Namespace:  ImmerseSDK.Interaction
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public class Pickup : EngageableObject

The Pickup type exposes the following members.

Constructors
  NameDescription
Public methodPickup
Initializes a new instance of the Pickup class
Top
Methods
  NameDescription
Protected methodAwake
Protected methodFixedUpdate
Unity Component Method
(Overrides EngageableObjectFixedUpdate.)
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).)
Protected methodShouldAddDefaultThrowForce
Returns true if the default throw force should be added (only valid for local disengagements that has authority)
(Overrides EngageableObjectShouldAddDefaultThrowForce.)
Top
Fields
  NameDescription
Private field_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.
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
Remarks
Watch our training videos covering Pickup objects here
See Also