Narrow legacy catalog to item hydration
This commit is contained in:
parent
596534896f
commit
9655d5ad7b
7 changed files with 21 additions and 29 deletions
|
|
@ -14,9 +14,6 @@ using float2 = Unity.Mathematics.float2;
|
|||
|
||||
public static class Extensions
|
||||
{
|
||||
//public static IDatabaseEntry Get(this Guid entry) => Database.Get(entry);
|
||||
//public static T Get<T>(this Guid entry) where T : class, IDatabaseEntry => Database.Get(entry) as T;
|
||||
|
||||
public static bool IsImplementationOf(this Type baseType, Type interfaceType)
|
||||
{
|
||||
return baseType.GetInterfaces().Any(interfaceType.Equals);
|
||||
|
|
|
|||
Loading…
Reference in a new issue