using UnityEngine.EventSystems; namespace UIWidgets { /// /// IDropSupport. /// Receive drops from DragSupport. /// public interface IDropSupport { /// /// Determines whether this instance can receive drop with the specified data and eventData. /// /// true if this instance can receive drop with the specified data and eventData; otherwise, false. /// Data. /// Event data. bool CanReceiveDrop(T data, PointerEventData eventData); /// /// Process dropped data. /// /// Data. /// Event data. void Drop(T data, PointerEventData eventData); /// /// Process canceled drop. /// /// Data. /// Event data. void DropCanceled(T data, PointerEventData eventData); } }