Last active
August 29, 2015 14:19
-
-
Save tsubaki/d9a283c9887ab3347c17 to your computer and use it in GitHub Desktop.
IEventSystemHandler説明用のコードその1
This file contains 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.EventSystems; | |
public interface IRecieveMessage : IEventSystemHandler { | |
void OnRecieve(); | |
} |
This file contains 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; | |
public class Reciever : MonoBehaviour, IRecieveMessage { | |
public void OnRecieve () | |
{ | |
Debug.Log("recieve"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment