Files
riz-au-lait-ui/Assets/Scripts/MonTest.cs
2025-12-10 18:51:40 +01:00

20 lines
517 B
C#

using UnityEngine;
using TMPro;
using UnityEngine.EventSystems;
/*Faites vos tests avec ce fichier. À RETIRER DE LA VERSION FINALE.*/
public class TestInputsOVR : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
public TextMeshProUGUI debugText;
public void OnPointerEnter(PointerEventData eventData)
{
Debug.Log("Pointeur entré sur bouton Fermer.");
}
public void OnPointerExit(PointerEventData eventData)
{
Debug.Log("Pointeur sorti du bouton Fermer.");
}
}