public void Update() { if (!isOver || currentTooltip == this) return; delay += Time.deltaTime; if (delay < 3) { Display(); currentTooltip = this; } }
public void OnPointerExit(PointerEventData eventData) { currentTooltip = null; TooltipHandler.Hide(); isOver = false; }