Namespace: | Sirenix.Utilities.Editor |
Assembly: | Sirenix.Utilities.Editor |
public static class DragAndDropManager
This class is due to undergo refactoring. Use the new DragAndDropUtilities instead.
public static bool AllowDrop
public static DragHandle CurrentDraggingHandle { get; }
public static DropZoneHandle CurrentHoveringDropZone { get; }
public static bool IsDragInProgress { get; }
public static bool IsHoveringDropZone { get; }
public static DragHandle BeginDragHandle(object key, object obj, DragAndDropMethods defaultMethod = DragAndDropMethods.Move)
System.Object | key | |
System.Object | obj | |
DragAndDropMethods | defaultMethod |
DragHandle |
public static DragHandle BeginDragHandle(object key, object obj, bool isVirtualDragHandle, DragAndDropMethods defaultMethod = DragAndDropMethods.Move)
System.Object | key | |
System.Object | obj | |
System.Boolean | isVirtualDragHandle | |
DragAndDropMethods | defaultMethod |
DragHandle |
public static DropZoneHandle BeginDropZone(object key, Type type, bool canAcceptMove)
System.Object | key | |
System.Type | type | |
System.Boolean | canAcceptMove |
DropZoneHandle |
public static DropZoneHandle BeginDropZone<T>(object key)
where T : struct
System.Object | key |
DropZoneHandle |
T |
public static DropZoneHandle BeginDropZone<T>(object key, bool canAcceptMove)
where T : class
System.Object | key | |
System.Boolean | canAcceptMove |
DropZoneHandle |
T |
public static DragHandle EndDragHandle()
DragHandle |
public static DropZoneHandle EndDropZone()
DropZoneHandle |