SetDragZone
Sets the drag zone for the driven field.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
SetDragZone(VisualElement)
Sets the drag zone for the driven field.
public void SetDragZone(VisualElement dragElement)
Parameters
The target of the drag operation.
SetDragZone(VisualElement, Rect)
Sets the drag zone for the driven field.
public abstract void SetDragZone(VisualElement dragElement, Rect hotZone)
Parameters
The target of the drag operation.
The rectangle that contains the drag zone.