Example #1
0
 private void OnElementPointerEnter(HistoryAbstractElement e)
 {
     if (FightCastManager.currentCastType == FightCastManager.CurrentCastType.None)
     {
         FightUIRework.ShowTooltip(e.tooltipProvider, m_tooltipPosition, e.GetComponent <RectTransform>());
     }
 }
Example #2
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     FightUIRework.ShowTooltip(this, m_tooltipPosition, this.GetComponent <RectTransform>());
 }