Click or drag to resize

DragCursor Class

A UI element that provides the cursor functionality for drag-&-drop operations.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Kit.UIDragCursor

Namespace:  Kit.UI
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class DragCursor : MonoBehaviour, IBeginDragHandler, 
	IEventSystemHandler, IDragHandler, IEndDragHandler
Request Example View Source

The DragCursor type exposes the following members.

Methods
Fields
  NameDescription
Public fieldItem
The Item for which this cursor is created.
Public fieldMoveSpeed
How fast does the cursor move back to its initial position?
Top
Extension Methods
  NameDescription
Public Extension MethodDestroy
Destroy the object.
(Defined by UnityObjectExtensions.)
Public Extension MethodDisable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodEnable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodGetBounds

Returns the bounds of the Component.

(Defined by ComponentExtensions.)
Public Extension MethodIsPrefab
Returns whether the Component is a part of a prefab.
(Defined by ComponentExtensions.)
Top
See Also