v1.0.0
jeffcampbellmakesgames
released this
06 May 06:53
·
18 commits
to releases/stable
since this release
Summary
This contains the initial release of EntitasRedux. It is largely equivalent to the 1.13.0 feature set of Entitas, minus Migrations and Blueprints. The core code generation functionality has largely been split off into a separate library named "Genesis" (found here as a general-purpose Unity editor tool that can be used independently and is a core dependency of EntitasRedux.
Note: If you install EntitasRedux using a .UnityPackage
you must also grab the latest release of Genesis as well from here as it is not included. For better dependency handling, I would recommend using OpenUPM instead.
ADDED
- Imported and reworked all original Entitas code into new EntitasRedux library.
- Cleaned up and modified code and code-gen, including extracting types into own files, updated code to reflect modern C# style, adjusted namespaces, converted simple properties to use expression-body style, modified event invocation to use nullable syntax, modified type cast and null check to use pattern matching, upper-case C# properties over lower-case.
- Collapsed many related assemblies into Runtime, Editor, and Plugin equivalents.
- Extracted code generation into a separate dedicated tool named Genesis, this is now a dependency of EntitasRedux. Genesis can be used for general-purpose code generation of itself.
- Modified all code generation aspects to now use Genesis as basis and removed older native code-gen funner capabilities, including Properties files.
- Created EntitasRedux user preferences section, found in menu item Edit -> Preferences
- Implemented IAbstractUserPreferencesDrawer and AbstractUserPreferencesDrawer for enabling developers to draw custom user preferences
- Modified code doc comments so that method/property docs properly show in intellisense.
- Ported all NSpec Unit tests to NUnit so they can be run in Unity.
- Modified example and unit test content so that it is also generated by code in development project.
- Moved all menu items to start from path "JCMG => EntitasRedux".
- Added MIT license header to all relevant files.
- Unified all line endings to Unix style (LF)
- Updated .editorconfig to be root.
- Added JCMG PackageTools as package
- Updated readme to cover background of Entitas reworking, outlined missing features
CHANGES
- Removed plugins for server and command-line code generation as that functionality is not available in open-source version of original Entitas
- Marked non-working APIs as Obsolete with error on compile set to true. This currently includes Context.CloneEntity extension method.
- Refactored user preferences on VisualDebuggingConfig to be user preferences instead of additional props on a GenesisSettings asset. Adjusted usage of those fields.
FIXES
- Fixed 2019.3 issue for VisualDebugging drawer colors where they would not be used by also setting scaled background textures on programmatically created GUIStyles.