Files
plugin-library/Assets/00.StaryEvo/Runtime/Rule/ICanSendQuery.cs

16 lines
317 B
C#
Raw Normal View History

2025-03-31 11:16:52 +08:00
namespace Stary.Evo
{
public interface ICanSendQuery : IBelongToArchitecture
{
}
public static class CanSendQueryExtension
{
public static T SendQuery<T>(this ICanSendQuery self, IQuery<T> query)
{
return self.GetArchitecture().SendQuery(query);
}
}
}