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
|
Name | Description | |
---|---|---|
Awake |
Unity Component Method
| |
OnDisable |
Unity Component Method
| |
OnDrawGizmosSelected |
Unity Component Method
| |
OnEnable |
Unity Component Method
|
Name | Description | |
---|---|---|
_checkBounds |
Force stop engagement if the object passes outside of the boundary
| |
_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
|
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.) |