Created
October 11, 2016 21:19
-
-
Save AlexandreBonaventure/c86255d73d398e3f3f91050651881d96 to your computer and use it in GitHub Desktop.
Unity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.EventSystems; | |
public class SetupPointerInterface : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler | |
{ | |
public void OnPointerEnter(PointerEventData eventData) | |
{ | |
Debug.Log("Pointer Enter"); | |
} | |
public void OnPointerExit(PointerEventData eventData) | |
{ | |
Debug.Log("Pointer Exit"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment