Click or drag to resize

RestrictedPickup Class

Note: This API is now obsolete.

A Pickup that is restricted to a specified rectangle. It will snap back to it's origin when it reaches the border. Note: This is now obsolete. Please use RestrictPickup on a normal Pickup for the same effect.
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDKLoggingBehaviour
            ImmerseSDK.IndexingIndexedMonoBehaviour
              ImmerseSDK.InteractionEngageableObject
                ImmerseSDK.InteractionPickup
                  ImmerseSDK.InteractionRestrictedPickup

Namespace:  ImmerseSDK.Interaction
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
[ObsoleteAttribute("This component will be removed in future versions. Please use RestrictPickup on a normal Pickup for the same effect.")]
public class RestrictedPickup : Pickup

The RestrictedPickup type exposes the following members.

Constructors
  NameDescription
Public methodRestrictedPickup
Initializes a new instance of the RestrictedPickup class
Top
Methods
Fields
  NameDescription
Private field_forceEngagementToStop
Force stop engagement if the object passes outside of the boundary
Private field_localBounds
Bounds in Local space
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
See Also