23 lines
561 B
C#
23 lines
561 B
C#
using UnityEngine;
|
|
|
|
public class ToolTipTrigger : MonoBehaviour
|
|
{
|
|
//private static LTDescr delay;
|
|
//[SerializeField] private string _content;
|
|
//[SerializeField] private string _header;
|
|
|
|
//public void OnPointerEnter(PointerEventData eventData)
|
|
//{
|
|
// delay = LeanTween.delayedCall(0.5f, () =>
|
|
// {
|
|
// ToolTipSystem.Show(_content, _header);
|
|
// });
|
|
//}
|
|
|
|
//public void OnPointerExit(PointerEventData eventData)
|
|
//{
|
|
// LeanTween.cancel(delay.uniqueId);
|
|
// ToolTipSystem.Hide();
|
|
//}
|
|
}
|