Example #1
0
        public void Update()
        {
            if (!isOver || currentTooltip == this) return;

            delay += Time.deltaTime;
            if (delay < 3)
            {
                Display();
                currentTooltip = this;
            }
        }
Example #2
0
 public void OnPointerExit(PointerEventData eventData)
 {
     currentTooltip = null;
     TooltipHandler.Hide();
     isOver = false;
 }