Documentation

Unity Engine

Unity Engine

CanAcceptDrop(List<ISelectable>)

Indicates if the dragged source can be dropped on the target interface.
Read time 1 minuteLast updated 2 months ago

Definition

bool CanAcceptDrop(List<ISelectable> selection)

Parameters

Selected elements.

Returns

Type

Description

boolReturns true if the dragged source can be dropped on the target interface. Returns false otherwise.