Guides
These docs are for v3.2.0. Click to read the latest docs for v3.3.0.

VRTK_UIDropZone

extends MonoBehaviour, IPointerEnterHandler, IPointerExitHandler

Overview

A UI Drop Zone is applied to any UI element that is to be considered a valid parent for any UI Draggable element to be dropped into it.

It's usually appropriate to use a Panel UI element as a drop zone with a layout group applied so new children dropped into the drop zone automatically align.

Example

VRTK/Examples/034_Controls_InteractingWithUnityUI demonstrates a collection of UI Drop Zones.