You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Entitas - The Entity Component System Framework for C# and Unity
Entitas is a super fast Entity Component System Framework (ECS) specifically made for C# and Unity. Internal caching and blazing fast component access makes it second to none. Several design decisions have been made to work optimal in a garbage collected environment and to go easy on the garbage collector. Entitas comes with an optional code generator which radically reduces the amount of code you have to write and makes your code read like well written prose.
Entitas is fast, light and gets rid of unnecessary complexity. There are less than a handful classes you have to know to rocket start your game or application:
The Code Generator generates classes and methods for you, so you can focus on getting the job done. It radically reduces the amount of code you have to write and improves readability by a huge magnitude. It makes your code less error-prone while ensuring best performance. I strongly recommend using it!
The optional Unity module integrates Entitas nicely into Unity and provides powerful editor extensions to inspect and debug pools, groups, entities, components and systems.
Read the wiki or checkout the awesome example projects to see Entitas in action. These example projects illustrate how systems, groups, observers and entities all play together seamlessly.
Download Entitas
Each release is published with zip files attached containing all source files you need.
Entitas.sln contains all projects and tests in one solution. Run build.sh to copy all required Entitas source files to all Unity projects.
To run the tests, navigate to the project root folder and execute runTests.sh.
Check the issues to make sure nobody hasn't already requested it and/or contributed it
Fork the project
Checkout the latest develop
Start a feature/yourFeatureOrBugfix branch based on the latest develop
Make sure to add/update tests. This is important so nobody will break it in a future version. Please write tests first, followed by the implementation.
Commit and push until you are happy with your contribution