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

23 lines
546 B
C#

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();
}