mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-18 01:54:35 +08:00
fix ITemplateInternal
This commit is contained in:
parent
60b6cb6a67
commit
f2d2274b61
@ -88,9 +88,9 @@ namespace DCFApixels.DragonECS
|
||||
{
|
||||
get { return _monoTemplates; }
|
||||
}
|
||||
public IEnumerable<ITemplateInternal> AllTemplates
|
||||
public IEnumerable<ITemplate> AllTemplates
|
||||
{
|
||||
get { return ((IEnumerable<ITemplateInternal>)_scriptableTemplates).Concat(_monoTemplates); }
|
||||
get { return ((IEnumerable<ITemplate>)_scriptableTemplates).Concat(_monoTemplates); }
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -9,13 +9,6 @@
|
||||
//void Add(ITemplateNode template);
|
||||
//void Remove(ITemplateNode template);
|
||||
}
|
||||
|
||||
public interface ITemplateInternal : ITemplate
|
||||
{
|
||||
string ComponentsPropertyName { get; }
|
||||
//EntityTemplateInheritanceMatrix InheritanceMatrix { get; }
|
||||
}
|
||||
|
||||
public static class ITemplateExtensions
|
||||
{
|
||||
public static int NewEntity(this EcsWorld world, ITemplateNode template)
|
||||
@ -55,3 +48,12 @@
|
||||
// #endregion
|
||||
//}
|
||||
}
|
||||
|
||||
namespace DCFApixels.DragonECS.Unity.Internal
|
||||
{
|
||||
internal interface ITemplateInternal : ITemplate
|
||||
{
|
||||
string ComponentsPropertyName { get; }
|
||||
//EntityTemplateInheritanceMatrix InheritanceMatrix { get; }
|
||||
}
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using DCFApixels.DragonECS.Unity.Internal;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace DCFApixels.DragonECS
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using DCFApixels.DragonECS.Unity.Internal;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace DCFApixels.DragonECS
|
||||
|
Loading…
Reference in New Issue
Block a user