From e5d96fa3f7e64a04d82eef4119bbeb2f98b2ceb0 Mon Sep 17 00:00:00 2001 From: Leopotam Date: Wed, 25 Jan 2023 12:34:38 +0300 Subject: [PATCH 1/3] =?UTF-8?q?[*]=20systems:=20=D0=9E=D1=87=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D0=BA=D0=B0=20=D0=BA=D0=B5=D1=88=D0=B0=20IEcsPostRunSyst?= =?UTF-8?q?em-=D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC=20=D0=B2=20IEcsSystems.?= =?UTF-8?q?Destroy().?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/systems.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b0362c5..3e3e055 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "displayName": "LeoECS Lite", "description": "LeoECS Lite - легковесный ECS-фреймворк, основанный на структурах. Производительность, нулевые или минимальные аллокации, минимизация использования памяти, отсутствие зависимостей от любого игрового движка - это основные цели данного фреймворка.", "unity": "2020.3", - "version": "2023.1.22", + "version": "2023.2.22-preview", "keywords": [ "leoecslite", "leoecs", diff --git a/src/systems.cs b/src/systems.cs index bcc78e8..c013225 100644 --- a/src/systems.cs +++ b/src/systems.cs @@ -186,6 +186,7 @@ public virtual void Destroy () { _worlds.Clear (); _allSystems.Clear (); _runSystems.Clear (); + _postRunSystems.Clear (); #if DEBUG _inited = false; #endif From 1d8eb1ca0844c54adce79733b2b1c6ec2455ee82 Mon Sep 17 00:00:00 2001 From: Leopotam Date: Thu, 9 Feb 2023 14:18:45 +0300 Subject: [PATCH 2/3] =?UTF-8?q?[*]=20README:=20=D0=9E=D0=B1=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D0=B5=D0=BA=D1=86?= =?UTF-8?q?=D0=B8=D0=B8=20=D1=80=D0=B0=D1=81=D1=88=D0=B8=D1=80=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 33e6df2..3e009b7 100644 --- a/README.md +++ b/README.md @@ -334,6 +334,7 @@ class EcsStartup { * [EasyEvents](https://github.com/7Bpencil/ecslite-easyevents) * [Entity command buffer](https://github.com/JimboA/EcsLiteEntityCommandBuffer) * [Интеграция в редактор Unity на базе UIToolkit](https://github.com/Mitfart/LeoECSLite.UnityIntegration) +* [Unity Entity Converter (замена UniLeo)](https://github.com/AndreyBirchenko/LeoEcsLiteEntityConverter) # Лицензия Фреймворк выпускается под двумя лицензиями, [подробности тут](./LICENSE.md). From 2c375f4df8a98272f260c61d7aa53269668a3bd0 Mon Sep 17 00:00:00 2001 From: Leopotam Date: Wed, 22 Feb 2023 11:14:51 +0300 Subject: [PATCH 3/3] =?UTF-8?q?[*]=20=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8?= =?UTF-8?q?=20=D1=8E=D0=BD=D0=B8=D1=82=D0=B8-=D0=BF=D0=B0=D0=BA=D0=B5?= =?UTF-8?q?=D1=82=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/worlds.cs | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/package.json b/package.json index 3e3e055..fca7180 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "displayName": "LeoECS Lite", "description": "LeoECS Lite - легковесный ECS-фреймворк, основанный на структурах. Производительность, нулевые или минимальные аллокации, минимизация использования памяти, отсутствие зависимостей от любого игрового движка - это основные цели данного фреймворка.", "unity": "2020.3", - "version": "2023.2.22-preview", + "version": "2023.2.22", "keywords": [ "leoecslite", "leoecs", diff --git a/src/worlds.cs b/src/worlds.cs index 7e6963b..aa5dac0 100644 --- a/src/worlds.cs +++ b/src/worlds.cs @@ -215,14 +215,6 @@ public int GetComponentsCount (int entity) { return _entities[GetRawEntityOffset (entity) + RawEntityOffsets.ComponentsCount]; } -#if DEBUG - [Obsolete ("Use GetComponentsCount() instead. Assumption was wrong, sorry for that.")] -#endif - [MethodImpl (MethodImplOptions.AggressiveInlining)] - public int GetEntityComponentsCount (int entity) { - return GetComponentsCount (entity); - } - [MethodImpl (MethodImplOptions.AggressiveInlining)] public short GetEntityGen (int entity) { return _entities[GetRawEntityOffset (entity) + RawEntityOffsets.Gen];