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(); } } }
private void OnMouseEnter() { tipObject.SetActive(true); tipText.gameObject.SetActive(true); tipText.text = rewardEdge.getTipText(); }