com.elestrago.unity.entitas-redux 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,8 +1,20 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to this project will be documented in this file.
3
+ ---
4
+
5
+ ## [3.2.2](https://gitlab.com/elestrago-pkg/entitas-redux/-/tags/3.2.2)
6
+
7
+ ### Added
8
+
9
+ - Move entity indices initialization from `Contexts` to context where this index used
10
+
11
+ ---
12
+
13
+ ## [3.2.1](https://gitlab.com/elestrago-pkg/entitas-redux/-/tags/3.2.1)
14
+
15
+ ### Added
4
16
 
5
- ## [Releases]
17
+ - Generated `I[ComponentName]Entity` interfaces inherited from `IEntity` interface
6
18
 
7
19
  ---
8
20
 
@@ -126,6 +126,9 @@ namespace JCMG.EntitasRedux
126
126
  _cachedEntityReleased = OnEntityReleased;
127
127
  _cachedBeforeDestroyEntity = OnBeforeDestroyEntity;
128
128
  _cachedDestroyEntity = OnDestroyEntity;
129
+
130
+ if (this is IContextEntityIndexes entityIndexes)
131
+ entityIndexes.Initialize();
129
132
  }
130
133
 
131
134
  private ContextInfo CreateDefaultContextInfo()
@@ -0,0 +1,7 @@
1
+ namespace JCMG.EntitasRedux
2
+ {
3
+ public interface IContextEntityIndexes
4
+ {
5
+ void Initialize();
6
+ }
7
+ }
@@ -0,0 +1,3 @@
1
+ fileFormatVersion: 2
2
+ guid: ea198950ff204d328f5ea4e295be7fc1
3
+ timeCreated: 1742537113
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.elestrago.unity.entitas-redux",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "displayName": "JCMG Entitas Redux",
5
5
  "description": "Entitas Redux is an fast, accessible, and feature-rich ECS framework for Unity. It leverages code generation and an extensible plugin framework to make life easier for developers.",
6
6
  "category": "Unity",