using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class UsericonTip : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler { public void OnPointerEnter(PointerEventData eventData) { ShowInfoTipManager.Instance.showTip(UserManager.Instance.NowChoose.name, false); } public void OnPointerExit(PointerEventData eventData) { ShowInfoTipManager.Instance.closeTip(); } }