Beispiel #1
0
 public void OnPointerClick(PointerEventData eventData)
 {
     if (eventData.button == PointerEventData.InputButton.Left)
     {
         TipMenu.SetActive(true);
         gameObject.GetComponent <Image> ().color = Color.white;
     }
 }
Beispiel #2
0
 public void CloseTipMenu()
 {
     TipMenu.SetActive(false);
 }