Scriptum/Assets/Scripts/REFACTORING/Application/Shared/Manager/UI/Panel/Draggable/DraggablePanelInterface.cs

23 lines
546 B
C#
Raw Normal View History

2022-11-06 21:34:17 +01:00
using UnityEditor;
using UnityEngine;
public interface DraggablePanelInterface
{
/// <summary>
/// Function to associate defined Drag&Drop behaviour to passed slot
/// </summary>
/// <param name="slot"></param>
public ISlot SetupDragAndDropToSlot(ISlot slot);
public void BeginDrag(ItemSlot itemSlot);
public void EndDrag(ItemSlot itemSlot);
public void Drag(ItemSlot itemSlot);
public void Drop(ItemSlot dropItemSlot);
// supports function to use in Drop
public ISlot GetDraggedSlot();
}