Copie depuis Unity VCS vers GitHub
This commit is contained in:
19
Assets/Scripts/MonTest.cs
Normal file
19
Assets/Scripts/MonTest.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user