This commit is contained in:
Mikhail 2024-05-18 23:47:48 +08:00
parent bc4de79aa1
commit a3e34354c7

View File

@ -284,7 +284,7 @@ namespace DCFApixels.DragonECS.Unity.Editors
var propsCounter = property.Copy(); var propsCounter = property.Copy();
int lastDepth = propsCounter.depth; int lastDepth = propsCounter.depth;
bool next = propsCounter.Next(true) && lastDepth < propsCounter.depth; bool next = propsCounter.Next(true) && lastDepth < propsCounter.depth;
int result = next ? -1 : 0; int result = 0;
while (next) while (next)
{ {
result++; result++;