BITFALL/Assets/BITKit/Core/Utility/GenericCallback.cs

11 lines
220 B
C#
Raw Normal View History

2023-08-12 01:43:24 +08:00
using System.Collections.Generic;
namespace BITKit
{
public interface ICallback
{
void RegisterCallback<T>(T t);
void UnRegisterCallback<T>(T t);
IEnumerable<T> GetCallbacks<T>();
}
}