RestrictPickup Class |
Namespace: ImmerseSDK.Interaction
[UnityEngine.RequireComponent(typeof(Pickup))] public class RestrictPickup : LoggingBehaviour
The RestrictPickup type exposes the following members.
Name | Description | |
---|---|---|
RestrictPickup | Initializes a new instance of the RestrictPickup class |
Name | Description | |
---|---|---|
DelaySnapAfterDisengagementInSeconds |
If this value > 0, then the pickup will be snapped to Origin after it is dropped
| |
ForceEngagementToStop |
Force stop engagement if the object passes outside of the boundary
| |
LocalBounds |
Bounds in Local space to restrict the Pickup to
| |
SnapTarget |
Snap to this target, or if null, snap to origin
| |
StartPosition |
Name | Description | |
---|---|---|
_delaySnapAfterDisengagementInSeconds | ||
_forceEngagementToStop | ||
_localBounds | ||
_sharedBounds | ||
_snapTargetWhenRestricted | ||
_useBounds |
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.) |