Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsubaki/d9a283c9887ab3347c17 to your computer and use it in GitHub Desktop.
Save tsubaki/d9a283c9887ab3347c17 to your computer and use it in GitHub Desktop.
IEventSystemHandler説明用のコードその1
using UnityEngine.EventSystems;
public interface IRecieveMessage : IEventSystemHandler {
void OnRecieve();
}
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