Skip to content

Instantly share code, notes, and snippets.

@zeffy1014
zeffy1014 / EventHandlerExtention.cs
Created May 4, 2020 15:40
Unity メッセージシステム拡張
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
/*** メッセージシステム受信用のInterface ***/
interface IEventReceiverEx : IEventSystemHandler
{
void OnXxxEvent(); //引数なしIF
void OnXxxIntParamEvent(int value); //int値を渡すIF