24 lines
425 B
C#
24 lines
425 B
C#
using BitStrap;
|
|
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
|
|
public class BTN_TutorialSkip : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IEventSystemHandler
|
|
{
|
|
[ReadOnly]
|
|
public bool isMouseOver;
|
|
|
|
private void OnMouseOver()
|
|
{
|
|
}
|
|
|
|
public void OnPointerEnter(PointerEventData eventData)
|
|
{
|
|
isMouseOver = true;
|
|
}
|
|
|
|
public void OnPointerExit(PointerEventData eventData)
|
|
{
|
|
isMouseOver = false;
|
|
}
|
|
}
|