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

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