Scriptum/Assets/Scripts/REFACTORING/Application/Shared/Manager/UI/Panel/Draggable/DraggablePanelInterface.cs
kabix09 88ab6bcee7 Add Shop module
Add Shop panel & saving module
2022-12-19 03:34:45 +01:00

26 lines
654 B
C#

using UnityEditor;
using UnityEngine;
using UnityEngine.EventSystems;
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);
public void MouseClick(ItemSlot itemSlot, PointerEventData eventData);
// supports function to use in Drop
public ISlot GetDraggedSlot();
}