Ejemplo n.º 1
0
    public void OnPointerDown(PointerEventData eventData)
    {
        if (!active)
        {
            return;
        }

        if (!MainTouchPressed)
        {
            MainTouchPressed = true;
            MainTouchId      = eventData.pointerId;
        }
        else if (!AsistTouchPressed && eventData.pointerId != MainTouchId)
        {
            AsistTouchPressed = true;
            AsistTouchId      = eventData.pointerId;
            CursorController.PressCursor();
        }
    }