Пример #1
0
 private void OnMouseEnter()
 {
     if (currentEdge != null || currentSpecialEdge != null)
     {
         tipObject.SetActive(true);
         tipText.gameObject.SetActive(true);
         if (isSpecial())
         {
             tipText.text = currentSpecialEdge.getTipText();
         }
         else
         {
             tipText.text = currentEdge.getTipText();
         }
     }
 }
Пример #2
0
 private void OnMouseEnter()
 {
     tipObject.SetActive(true);
     tipText.gameObject.SetActive(true);
     tipText.text = rewardEdge.getTipText();
 }