文档

Unity Engine

Unity Engine

CanAcceptDrop(List<ISelectable>)

Indicates if the dragged source can be dropped on the target interface.
阅读时间1 分钟最后更新于 1 个月前

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.