mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-19 02:24:35 +08:00
update
This commit is contained in:
parent
02e6ebfdc2
commit
ac61817307
@ -9,7 +9,7 @@
|
|||||||
_worlds = worlds;
|
_worlds = worlds;
|
||||||
}
|
}
|
||||||
|
|
||||||
void IEcsModule.ImportSystems(EcsPipeline.Builder b)
|
void IEcsModule.Import(EcsPipeline.Builder b)
|
||||||
{
|
{
|
||||||
b.Layers.Insert(EcsConsts.POST_END_LAYER, DEBUG_LAYER);
|
b.Layers.Insert(EcsConsts.POST_END_LAYER, DEBUG_LAYER);
|
||||||
b.Add(new PipelineDebugSystem(), DEBUG_LAYER);
|
b.Add(new PipelineDebugSystem(), DEBUG_LAYER);
|
||||||
|
@ -112,7 +112,7 @@ namespace DCFApixels.DragonECS
|
|||||||
GUILayout.EndVertical();
|
GUILayout.EndVertical();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawSystem(IEcsSystem system)
|
private void DrawSystem(IEcsProcess system)
|
||||||
{
|
{
|
||||||
if (system is SystemsLayerMarkerSystem markerSystem)
|
if (system is SystemsLayerMarkerSystem markerSystem)
|
||||||
{
|
{
|
||||||
@ -181,9 +181,9 @@ namespace DCFApixels.DragonECS
|
|||||||
private Dictionary<Type, int> _processeIndexes = new Dictionary<Type, int>();
|
private Dictionary<Type, int> _processeIndexes = new Dictionary<Type, int>();
|
||||||
|
|
||||||
private PipelineProcessesDebugMonitor Target => (PipelineProcessesDebugMonitor)target;
|
private PipelineProcessesDebugMonitor Target => (PipelineProcessesDebugMonitor)target;
|
||||||
private Type systemInterfaceType = typeof(IEcsSystem);
|
private Type systemInterfaceType = typeof(IEcsProcess);
|
||||||
|
|
||||||
private IEcsSystem[] _systems;
|
private IEcsProcess[] _systems;
|
||||||
private void Init()
|
private void Init()
|
||||||
{
|
{
|
||||||
if (_isInit)
|
if (_isInit)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace DCFApixels.DragonECS
|
namespace DCFApixels.DragonECS
|
||||||
{
|
{
|
||||||
public interface IEcsLateRunProcess : IEcsSystem
|
public interface IEcsLateRunProcess : IEcsProcess
|
||||||
{
|
{
|
||||||
public void LateRun(EcsPipeline pipeline);
|
public void LateRun(EcsPipeline pipeline);
|
||||||
}
|
}
|
||||||
@ -13,7 +13,7 @@ namespace DCFApixels.DragonECS
|
|||||||
systems.GetRunner<IEcsLateRunProcess>().LateRun(systems);
|
systems.GetRunner<IEcsLateRunProcess>().LateRun(systems);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public interface IEcsFixedRunProcess : IEcsSystem
|
public interface IEcsFixedRunProcess : IEcsProcess
|
||||||
{
|
{
|
||||||
public void FixedRun(EcsPipeline pipeline);
|
public void FixedRun(EcsPipeline pipeline);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user