lightjiao/Entitas.Generic fork (as you can see on your own. _.)
Plus:
- My subjective preferences — like codestyle, naming, etc
- Functionality from original sschmid/Entitas, which wasn't present in the lightjiao/Entitas.Generic — see What works
- Some additional stuff — like
ComponentID
s, orEntityBehaviour
s; see Addons
Originally inspired by yosadchyi/Entitas.Generic, but with simpler API. Works perfectly with Native Entitas VisualDebug
- Just Clone this repo into your project's folder
- Maybe you'll need some additional setup for your engine:
❗ I've applied the fix for Entitas.VisualDebug in Unity 2022.2+
❗ So if you wanna use this library with older unity – you need to revert this commit i guess
- In the
.csproj
file add references to the following.dll
s:- In Rider you can do it by right clicking on your project > Add > Add reference....
- othervise open the
.csproj
in a text editor add next lines for each library in<ItemGroup>
<Reference Include="DLL_NAME"> <HintPath>path/to/DLL_NAME.dll</HintPath> </Reference>
Entitas/DesperateDevs/DesperateDevs.Caching.dll
Entitas/DesperateDevs/DesperateDevs.Extensions.dll
Entitas/DesperateDevs/DesperateDevs.Reflection.dll
Entitas/DesperateDevs/DesperateDevs.Serialization.dll
Entitas/DesperateDevs/DesperateDevs.Threading.dll
Entitas/Entitas/Entitas.dll
- How this should look like
- More info about Godot-Entitas integration:
TODO: wiki
But you can check my other projects, where i used this library by myself!
- the Bad Luck (Godot) – WIP
- the Bad Luck (Unity) – deprecated
- Burned Jack (Unity) – a submission for Acerola Jam 0 (so the code is shittier than usual)
TODO: wiki
Almost all of the original sschmid/Entitas functionality has been implemented (at least what makes sense imho), including:
EntityIndex
andPrimaryEntityIndex
EventAttribute
- except some of its parameters (
EventType
, priority)
- except some of its parameters (
CleanupAttribute
UniqueAttribute
The core is working, but Visual Debugger and other editor things are WIP
Also i've added some additional stuff, that i needed in the original Entitas, including:
- EntitytBehaviour and ComponentBehaviour (aka. Blueprints)
- ComponentID (dropdown to pick desired component in unity as value)