public void OnPointerEnter(PointerEventData eventData)
 {
     if (!(m_tooltip == null) && value != null && !ItemDragNDropListener.instance.dragging)
     {
         m_tooltip.Initialize(this);
         m_tooltip.ShowAt(m_tooltipPosition, base.rectTransform);
     }
 }
Beispiel #2
0
        public static void ShowTooltip(ITooltipDataProvider tooltipDataProvider, TooltipPosition position, RectTransform rectTransform)
        {
            FightTooltip fightTooltip = GetFightTooltip();

            if (fightTooltip != null)
            {
                fightTooltip.Initialize(tooltipDataProvider);
                fightTooltip.ShowAt(position, rectTransform);
            }
        }
Beispiel #3
0
        public static void ShowTooltip(ITooltipDataProvider tooltipDataProvider, TooltipPosition position, Vector3 worldPosition)
        {
            //IL_0018: Unknown result type (might be due to invalid IL or missing references)
            FightTooltip fightTooltip = GetFightTooltip();

            if (fightTooltip != null)
            {
                fightTooltip.Initialize(tooltipDataProvider);
                fightTooltip.ShowAt(position, worldPosition);
            }
        }