-EntitesBlock freeing

-IDManager now increment counter on ID releasing (previously while creating new ID)
This commit is contained in:
Mergul 2018-09-20 20:33:55 +02:00
parent 45110e236c
commit 8cb5d6ce62
3 changed files with 44 additions and 13 deletions

View file

@ -93,6 +93,7 @@ int main()
struct TestSystem
{
__gshared ushort system_id;
void onCreate()
{
@ -152,6 +153,7 @@ int main()
struct TestSystemWithHighPriority
{
__gshared ushort system_id;
void initialize(ref Entity entity, ref TestComp comp)
{
@ -173,6 +175,7 @@ int main()
struct TestSystem2
{
__gshared ushort system_id;
void onEnable()
{