public void OnPointerClick(PointerEventData eventData)
    {
        master.overviewDropdownDestroy();
        if (eventData.button == PointerEventData.InputButton.Left && eventData.clickCount == 1)
        {
            //Debug.Log("Single Click");
        }

        if (eventData.button == PointerEventData.InputButton.Left && eventData.clickCount == 2)
        {
            master.addTarget(target, this);
        }

        if (eventData.button == PointerEventData.InputButton.Right && eventData.clickCount == 1)
        {
            master.overviewDropdownAdd(this, eventData);
        }
    }
Beispiel #2
0
 private void buttonTargetClick()
 {
     master.addTarget(target, interfaceOverviewItem);
     destroy();
 }