Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

BaseFieldMouseDragger.SetDragZone

Declaration

public void SetDragZone(UIElements.VisualElement dragElement);

Parameters

dragElement The target of the drag operation.

Description

Sets the drag zone for the driven field.


Declaration

public void SetDragZone(UIElements.VisualElement dragElement, Rect hotZone);

Parameters

dragElement The target of the drag operation.
hotZone The rectangle that contains the drag zone.

Description

Sets the drag zone for the driven field.