fix EcsGroup.Clear

This commit is contained in:
Mikhail 2024-03-02 21:18:45 +08:00
parent 2bb724bdcb
commit f009ef9c1c

View File

@ -301,7 +301,7 @@ namespace DCFApixels.DragonECS
{
return;
}
for (int i = 0; i < _count; i++)
for (int i = 1; i <= _count; i++)
{
_sparse[_dense[i]] = 0;
}