Skip to content

Commit

Permalink
[*] Обновление версии юнити-пакета.
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopotam committed Feb 22, 2023
1 parent 1d8eb1c commit 2c375f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
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.2.22-preview",
"version": "2023.2.22",
"keywords": [
"leoecslite",
"leoecs",
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 2c375f4

Please sign in to comment.