-EntitesBlock freeing
-IDManager now increment counter on ID releasing (previously while creating new ID)
This commit is contained in:
parent
45110e236c
commit
8cb5d6ce62
3 changed files with 44 additions and 13 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue