mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 09:54:35 +08:00
fix
This commit is contained in:
parent
e56c7f94d7
commit
5f009d4eb5
@ -112,6 +112,8 @@ namespace DCFApixels.DragonECS
|
|||||||
{
|
{
|
||||||
#if (DEBUG && !DISABLE_DEBUG)
|
#if (DEBUG && !DISABLE_DEBUG)
|
||||||
throw new NullInstanceException();
|
throw new NullInstanceException();
|
||||||
|
#else
|
||||||
|
return EcsWorld.GetWorld(0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -140,6 +142,8 @@ namespace DCFApixels.DragonECS
|
|||||||
{
|
{
|
||||||
#if (DEBUG && !DISABLE_DEBUG)
|
#if (DEBUG && !DISABLE_DEBUG)
|
||||||
throw new NullInstanceException();
|
throw new NullInstanceException();
|
||||||
|
#else
|
||||||
|
return null;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
void IEcsPool.SetRaw(int entity, object dataRaw)
|
void IEcsPool.SetRaw(int entity, object dataRaw)
|
||||||
|
Loading…
Reference in New Issue
Block a user