private void OnMouseEnter()
 {
     if (!string.IsNullOrWhiteSpace(TooltipValue))
     {
         TooltipManager.ShowTooltip(TextManager.GetText(TooltipValue));
     }
 }
Beispiel #2
0
        private void Start()
        {
            _instance = this;

            Camera = Camera.main;

            _tooltip = Instantiate(TooltipPrefab, transform);
            _tooltip.Hide();
        }
 private void OnMouseExit()
 {
     TooltipManager.HideTooltip();
 }
Beispiel #4
0
 public void OnPointerExit(PointerEventData eventData)
 {
     TooltipManager.HideTooltip();
 }
Beispiel #5
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     TooltipManager.ShowTooltip(FullUrl);
 }