기술 자료

Unity Engine

Unity Engine

SetDragZone

Sets the drag zone for the driven field.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

SetDragZone(VisualElement)

Sets the drag zone for the driven field.
public void SetDragZone(VisualElement dragElement)

Parameters

dragElement

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

dragElement

The target of the drag operation.

hotZone

The rectangle that contains the drag zone.