Skip to content

DropDelegate<T>

Namespace: SideXP.Core.EditorOnly

public delegate bool DropDelegate<T>(T[] objectReferences)

Called when objects are dropped in a drop zone using Draw``1.

Type parameters

  • T: The type of objects allowed to be dropped in the drop zone.

Parameters

  • objectReferences: The filtered list of dragged objects.

Returns

Returns true if the objects have been dropped successfully.