This commit is contained in:
Mikhail 2024-03-13 22:18:17 +08:00
parent e56c7f94d7
commit 5f009d4eb5

View File

@ -112,6 +112,8 @@ namespace DCFApixels.DragonECS
{
#if (DEBUG && !DISABLE_DEBUG)
throw new NullInstanceException();
#else
return EcsWorld.GetWorld(0);
#endif
}
}
@ -140,6 +142,8 @@ namespace DCFApixels.DragonECS
{
#if (DEBUG && !DISABLE_DEBUG)
throw new NullInstanceException();
#else
return null;
#endif
}
void IEcsPool.SetRaw(int entity, object dataRaw)