CanDropDelegate<T>¶
Namespace:
SideXP.Core.EditorOnly
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.
Type parameters
T: The type of objects allowed to be dropped in the drop zone.
Parameters
obj: The object being checked.
Returns
Returns true if the object can be dropped in the drop zone.