예제 #1
0
    public void OnEndDrag(PointerEventData eventData)
    {
        foreach (var item in eventData.hovered)
        {
            var input = item.GetComponent <SocketInput>();
            if (input != null)
            {
                SignalSystem.InvokeOutputSocketDragDropTo(input);
                return;
            }
        }

        SignalSystem.InvokeOutputSocketDragDropTo(null);
    }