mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
fix
This commit is contained in:
parent
e56c7f94d7
commit
5f009d4eb5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user