Skip to content
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
C# Shell
Branch: master
Clone or download

Latest commit

Latest commit c83a23a May 8, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.bee Release 1.13.0 Feb 20, 2019
Addons Fix null texture warning Feb 19, 2019
Entitas Release 1.13.0 Feb 20, 2019
Libraries Release 1.13.0 Feb 20, 2019
Readme Update Entitas Header image Jan 28, 2019
Tests Release 1.13.0 Feb 20, 2019
docs Release 1.13.0 Feb 20, 2019
.gitignore Using latest bee Sep 29, 2018
.travis.yml Update travis.yml Nov 11, 2018
CHANGELOG.md Release 1.13.0 Feb 20, 2019
CONTRIBUTING.md Release 1.9.2 Nov 4, 2018
Entitas.sln Moved Tests.Fixtures to TestFixtures Jan 12, 2018
EntitasUpgradeGuide.md Release 0.47.2 Jan 12, 2018
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md Nov 8, 2017
LICENSE.txt
README.md Update Discord invite May 8, 2020
bee.sh Update bee scripts Feb 1, 2019
icon.png Updated icons Apr 18, 2017
tree.txt Release 1.13.0 Feb 20, 2019

README.md

Entitas

Entitas on Discord Join the chat at https://gitter.im/sschmid/Entitas-CSharp Build Status Latest release

Twitter Follow Me Twitter Follow Me

Entitas is free, but powered by your donations

Join the chat at https://gitter.im/sschmid/Entitas-CSharp

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 Gram Games.png


» Download

» Documentation

» Ask a question

» Wiki and example projects

» #madeWithEntitas


Video Tutorials & Unity Unite Talks

Entitas ECS Unity Tutorial Entitas ECS Unity Tutorial Entity system architecture with Unity ECS architecture with Unity by example
Shmup1 Shmup2 Unite 15 Unite 16
Setup & Basics Git & Unit Tests » 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 GameEntity CreateRedGem(this GameContext context, Vector3 position) {
    var entity = context.CreateEntity();
    entity.isGameBoardElement = true;
    entity.isMovable = true;
    entity.AddPosition(position);
    entity.AddAsset("RedGem");
    entity.isInteractive = true;
    return entity;
}
var entities = context.GetEntities(Matcher<GameEntity>.AllOf(GameMatcher.Position, GameMatcher.Velocity));
foreach(var e in entities) {
    var pos = e.position;
    var vel = e.velocity;
    e.ReplacePosition(pos.value + vel.value);
}

Overview

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
  • Context
  • 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 contexts, 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 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 containing all source files you need.

Show releases

Thanks to

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

Maintainer(s)

Different language?

Entitas is available in

You can’t perform that action at this time.