Skip to content

Commit

Permalink
Merge branch 'release/2023.2.22'
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopotam committed Feb 22, 2023
2 parents b2b2010 + 2c375f4 commit 4622c76
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"displayName": "LeoECS Lite",
"description": "LeoECS Lite - легковесный ECS-фреймворк, основанный на структурах. Производительность, нулевые или минимальные аллокации, минимизация использования памяти, отсутствие зависимостей от любого игрового движка - это основные цели данного фреймворка.",
"unity": "2020.3",
"version": "2023.1.22",
"version": "2023.2.22",
"keywords": [
"leoecslite",
"leoecs",
Expand Down
1 change: 1 addition & 0 deletions src/systems.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ public virtual void Destroy () {
_worlds.Clear ();
_allSystems.Clear ();
_runSystems.Clear ();
_postRunSystems.Clear ();
#if DEBUG
_inited = false;
#endif
Expand Down
8 changes: 0 additions & 8 deletions src/worlds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 4622c76

Please sign in to comment.