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