Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DragEnter(DragEnterEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)

This method is automatically called when the dragged source intersects the drop target.
Read time 1 minuteLast updated 12 days ago

Definition

bool DragEnter(DragEnterEvent evt, IEnumerable<ISelectable> selection, IDropTarget enteredTarget, ISelection dragSource)

Parameters

The event.

The selected elements.

enteredTarget

The drop target.

dragSource

The drag source.

Returns

Type

Description

boolReturns event propagation.