Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DragLeave(DragLeaveEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)

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

Definition

bool DragLeave(DragLeaveEvent evt, IEnumerable<ISelectable> selection, IDropTarget leftTarget, ISelection dragSource)

Parameters

The event.

The selected elements.

leftTarget

The drop target.

dragSource

The drag source.

Returns

Type

Description

boolReturns event propagation.