This commit is contained in:
Mikhail 2023-05-30 18:31:03 +08:00
parent 02e6ebfdc2
commit ac61817307
3 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@
_worlds = worlds;
}
void IEcsModule.ImportSystems(EcsPipeline.Builder b)
void IEcsModule.Import(EcsPipeline.Builder b)
{
b.Layers.Insert(EcsConsts.POST_END_LAYER, DEBUG_LAYER);
b.Add(new PipelineDebugSystem(), DEBUG_LAYER);

View File

@ -112,7 +112,7 @@ namespace DCFApixels.DragonECS
GUILayout.EndVertical();
}
private void DrawSystem(IEcsSystem system)
private void DrawSystem(IEcsProcess system)
{
if (system is SystemsLayerMarkerSystem markerSystem)
{
@ -181,9 +181,9 @@ namespace DCFApixels.DragonECS
private Dictionary<Type, int> _processeIndexes = new Dictionary<Type, int>();
private PipelineProcessesDebugMonitor Target => (PipelineProcessesDebugMonitor)target;
private Type systemInterfaceType = typeof(IEcsSystem);
private Type systemInterfaceType = typeof(IEcsProcess);
private IEcsSystem[] _systems;
private IEcsProcess[] _systems;
private void Init()
{
if (_isInit)

View File

@ -2,7 +2,7 @@
namespace DCFApixels.DragonECS
{
public interface IEcsLateRunProcess : IEcsSystem
public interface IEcsLateRunProcess : IEcsProcess
{
public void LateRun(EcsPipeline pipeline);
}
@ -13,7 +13,7 @@ namespace DCFApixels.DragonECS
systems.GetRunner<IEcsLateRunProcess>().LateRun(systems);
}
}
public interface IEcsFixedRunProcess : IEcsSystem
public interface IEcsFixedRunProcess : IEcsProcess
{
public void FixedRun(EcsPipeline pipeline);
}