mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-17 09:24:35 +08:00
fix
This commit is contained in:
parent
7f80f2564c
commit
71f1328a59
@ -231,7 +231,15 @@ namespace DCFApixels.DragonECS.Unity.Editors.X
|
||||
{
|
||||
if (_runtimeComponentsDepth == RuntimeComponentsDepthRoot)
|
||||
{
|
||||
_drawers[0].DrawWorldComponents_Internal(world);
|
||||
try
|
||||
{
|
||||
_runtimeComponentsDepth = 0;
|
||||
_drawers[0].DrawWorldComponents_Internal(world);
|
||||
}
|
||||
finally
|
||||
{
|
||||
_runtimeComponentsDepth = RuntimeComponentsDepthRoot;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void DrawWorldComponents_Internal(EcsWorld world)
|
||||
|
Loading…
Reference in New Issue
Block a user