Skip to content

Commit 678fc61

Browse files
committed
v1.3.5
## Summary This release includes a bug fix for code generation. **Note:** If you install EntitasRedux using a `.UnityPackage` you must also grab the latest release of Genesis as well from [here](https://github.com/jeffcampbellmakesgames/Genesis) as it is not included. For better dependency handling, I would recommend using OpenUPM instead. ## ADDED * NA ## CHANGED * NA ## FIXED * Components that have both an `[Event]` and `[Cleanup]` attribute will no longer generate an additional cleanup system for the event listener interface component generated as a result of the `[Event]` attribute. ## REMOVED * NA
1 parent 3b6af94 commit 678fc61

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

Docs/EntitasReduxAPI.chm

1.15 KB
Binary file not shown.

Scripts/Editor/Plugins/Component/DataProviders/ComponentDataProvider.cs

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ private ComponentData[] CreateDataForEvents(ComponentData data)
130130
dataForEvent.IsEvent(false);
131131
dataForEvent.IsUnique(false);
132132
dataForEvent.ShouldGenerateComponent(false);
133+
dataForEvent.RemoveCleanupData();
133134
var eventComponentName = data.EventComponentName(eventData);
134135
var eventTypeSuffix = eventData.GetEventTypeSuffix();
135136
var optionalContextName =

Scripts/Editor/Plugins/Component/DataProviders/ComponentDataProviders/CleanupComponentDataProvider.cs

+5
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ public static bool HasCleanupData(this ComponentData data)
6666
return data.ContainsKey(CLEANUP_DATA_KEY);
6767
}
6868

69+
public static void RemoveCleanupData(this ComponentData data)
70+
{
71+
data.Remove(CLEANUP_DATA_KEY);
72+
}
73+
6974
public static bool HasCleanupRemoveComponentData(this ComponentData data)
7075
{
7176
return data.ContainsKey(CLEANUP_DATA_KEY) &&

Scripts/VersionConstants.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ internal static class VersionConstants
3333
/// <summary>
3434
/// The semantic version
3535
/// </summary>
36-
public const string VERSION = "1.3.4";
36+
public const string VERSION = "1.3.5";
3737

3838
/// <summary>
3939
/// The branch of GIT this package was published from.
@@ -43,16 +43,16 @@ internal static class VersionConstants
4343
/// <summary>
4444
/// The current GIT commit hash this package was published on.
4545
/// </summary>
46-
public const string GIT_COMMIT = "687c618b3242a5516fa97b3d00ded07d9fff2943";
46+
public const string GIT_COMMIT = "02732783551c376b1a5e69ff64c557964dd43df4";
4747

4848
/// <summary>
4949
/// The UTC human-readable date this package was published at.
5050
/// </summary>
51-
public const string PUBLISH_DATE = "Thursday, October 15, 2020";
51+
public const string PUBLISH_DATE = "Thursday, November 12, 2020";
5252

5353
/// <summary>
5454
/// The UTC time this package was published at.
5555
/// </summary>
56-
public const string PUBLISH_TIME = "10/15/2020 12:15:03";
56+
public const string PUBLISH_TIME = "11/12/2020 13:18:37";
5757
}
5858
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"name":"com.jeffcampbellmakesgames.entitasredux","displayName":"JCMG Entitas Redux","version":"1.3.4","unity":"2019.4","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.","category":"Scripting","dependencies":{"com.jeffcampbellmakesgames.genesis":"1.3.0"}}
1+
{"name":"com.jeffcampbellmakesgames.entitasredux","displayName":"JCMG Entitas Redux","version":"1.3.5","unity":"2019.4","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.","category":"Scripting","dependencies":{"com.jeffcampbellmakesgames.genesis":"1.3.0"}}

0 commit comments

Comments
 (0)