Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CanAcceptDrop(List<ISelectable>)

Indicates if the dragged source can be dropped on the target interface.
Read time 1 minuteLast updated 10 days 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.