Esempio n. 1
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     delay = LeanTween.delayedCall(0.5f, () =>
     {
         ToolTipSystem.Show(content, header);
     });
 }
Esempio n. 2
0
 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
        }
    }
Esempio n. 4
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     //FadeIn();
     //ToolTipSystem.Show(content, header);
     LeanTween.delayedCall(2f, () =>
     {
         ToolTipSystem.Show(content, header);
     });
 }
Esempio n. 5
0
    public void OnSlotPressed()
    {
        if (itemStack.Count == 0)
        {
            return;
        }

        //Activate tooltip
        ToolTipSystem.Show(itemStack.Peek(), transform);
        ToolTipSystem.SetItemActions(this, itemStack.Peek());
    }
Esempio n. 6
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     ToolTipSystem.Show(content, header);
 }