Entitas generator using Entitas ECS framework
- clone this repository
- build
CodeGen.sln
solution. See Console Runner for details - create settings. See Settings
- call
mono ./path_here/GenEntitas.exe --SettingsPath=./pathToSettings
. See genComps.sh
- Console Runner reads settings file
- Systems are imported from dlls
- Systems
Initialize/Execute/Cleanup/TearDown
once- DataProvider systems add entities with components
- Generator systems react to components in entities
- PostProcessor systems write changes to disk, log, etc.
- Console Runner
- Settings
- Systems
- Components
- DataProvider.Reflection
- DataProvider.Roslyn
- DataProvider.GenEntitasLang
- HelloWorld Plugin
- Tests
- familiar ECS architecture for Entitas users
- easy to add custom generator - create System, add it to Systems
- multiple input sources - dlls for reflection, GenEntitasLang files, Roslyn
- option to wrap generated classes into namespace
- no default context. No need to specify contexts beforehand in settings, contexts are read from components
- Components without any generator attributes are not generated
- unofficial
- tied to specific entitas version
- there is no settings auto creation. You'll have to provide paths to folders with unity dlls. After done once, settings can be copy/paste/tweaked for other projects
- Roslyn data provider lacks server mode, and because of that is much slower compared to Entitas Jenny