public void OnPointerEnter(PointerEventData eventData) { delay = LeanTween.delayedCall(0.5f, () => { ToolTipSystem.Show(content, header); }); }
public void OnMouseEnter() { { LeanTween.delayedCall(2f, () => { ToolTipSystem.Show(content, header); }); } }
IEnumerator Delay() { yield return(new WaitForSeconds(0.5f)); if (hover == true) { ToolTipSystem.Show(content, header); //calls on method from ToolTipSystem to activate tooltip } }
public void OnPointerEnter(PointerEventData eventData) { //FadeIn(); //ToolTipSystem.Show(content, header); LeanTween.delayedCall(2f, () => { ToolTipSystem.Show(content, header); }); }
public void OnSlotPressed() { if (itemStack.Count == 0) { return; } //Activate tooltip ToolTipSystem.Show(itemStack.Peek(), transform); ToolTipSystem.SetItemActions(this, itemStack.Peek()); }
public void OnPointerEnter(PointerEventData eventData) { ToolTipSystem.Show(content, header); }