Пример #1
0
    private void OnMouseUp()
    {
        AdjustPointerID();
        if (opStatus == "down")
        {
            OnClicked.SC(dragFrom.x, dragFrom.y);
        }
        else if (opStatus == "dragging")
        {
            OnEndDragging.SC(dragFrom.x, dragFrom.y, lastDraggingPos.x, lastDraggingPos.y);
        }

        opStatus = "default";
    }