Entitas-CSharp 0,-2,5,1,3,0 travis-ci

Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity


If you love Entitas as much as we do
please support the development
Thank you!

Join the chat at https://gitter.im/sschmid/Entitas-CSharp Twitter Follow Me Twitter Follow Me Build Status Latest release

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.

CSharp Unity3d Unite Europe 2015 Unite Europe 2016 Wooga

» Ask a question

» Wiki, Overview, Roadmap and example projects

» Community: Games and Examples #madeWithEntitas


Entity system architecture with Unity ECS architecture with Unity by example
Unite Europe 2015 Unite Europe 2016
» Open the slides on SlideShare: Unite Europe 2015 » Open the slides on SlideShare: Unite Europe 2016

First glimpse

The optional code generator lets you write code that is super fast, safe and literally screams its intent.

public static Entity CreateRedGem(this Pool pool, int x, int y) {
    return pool.CreateEntity()
               .AddPosition(x, y)
var entities = pool.GetEntities(Matcher.AllOf(Matcher.Move, Matcher.Position));
foreach (var entity in entities) {
    var move = entity.move;
    var pos = entity.position;
    entity.ReplacePosition(pos.x, pos.y + move.speed);


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:

  • Entity
  • Pool
  • Group
  • Entity Collector

Read more…

Code Generator

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!

Read more…

Unity integration

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 more…

Entitas.Unity MenuItems Entitas.Unity.VisualDebugging Entity Entitas.Unity.VisualDebugging Systems

Entitas deep dive

Read the wiki or checkout the awesome example projects to see Entitas in action. These example projects illustrate how systems, groups, collectors and entities all play together seamlessly.

Download Entitas

Each release is published with zip files attached containing all source files you need.



Show releases

Contributing to Entitas

The project is hosted on GitHub where you can report issues, fork the project and submit pull requests.

Entitas.sln contains all projects and tests in one solution. Run Scripts/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 Scripts/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
  • Create a pull request

Thanks to

Big shout out to @mzaks, @cloudjubei and @devboy for endless hours of discussion and helping making Entitas awesome!


Different language?

Entitas is available in - C# - Swift - C++ - Objective-C - Java - Scala - Go - F# - TypeScript - Kotlin - Haskell - Erlang - Clojure

Related Repositories



Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity ...



Showcase for ReactiveUI build with Entitas-CSharp ...



This is a simple and interactive Unity3d example project to show how to use Entitas ...



A helpful starting point for new games using - https://github.com/sschmid/Entitas-CSharp/ ...

Top Contributors

sschmid vkuskov mzaks chrischu bddckr JamesMcMahon npruehs bcatcho ByteSheep mstrchrstphr thematthopkins ReadmeCritic movrajr


-   Unity_4.6 zip tar
-   0.35.0 zip tar
-   0.34.0 zip tar
-   0.33.0 zip tar
-   0.32.0 zip tar
-   0.31.2 zip tar
-   0.31.1 zip tar
-   0.31.0 zip tar
-   0.30.3 zip tar
-   0.30.2 zip tar
-   0.30.1 zip tar
-   0.30.0 zip tar
-   0.29.1 zip tar
-   0.29.0 zip tar
-   0.28.2 zip tar
-   0.28.1 zip tar
-   0.28.0 zip tar
-   0.27.0 zip tar
-   0.26.1 zip tar
-   0.26.0 zip tar
-   0.25.0 zip tar
-   0.24.6 zip tar
-   0.24.5 zip tar
-   0.24.4 zip tar
-   0.24.3 zip tar
-   0.24.2 zip tar
-   0.24.1 zip tar
-   0.24.0 zip tar
-   0.23.0 zip tar
-   0.22.3 zip tar