Skip to content

CanDropDelegate

Namespace: SideXP.Core.EditorOnly

public delegate bool CanDropDelegate(Object obj)

Checks if an object can be dropped in a drop zone. Called when objects are dragged over the drop zone, as an additional check after ensuring the item has the expected type. So you don't need to check the type of the object by yourself at this point.

Returns

Returns true if the object can be dropped in the drop zone.