<p align="center">
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/Entitas-Header.png" alt="Entitas">
</p>
<p align="center">
<a href="https://gitter.im/sschmid/Entitas-CSharp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge">
<img src="https://img.shields.io/badge/chat-on%20gitter-brightgreen.svg" alt="Join the chat at https://gitter.im/sschmid/Entitas-CSharp"></a>
<a href="https://twitter.com/intent/follow?original_referer=https%3A%2F%2Fgithub.com%2Fsschmid%2FEntitas-CSharp&screen_name=s_schmid&tw_p=followbutton">
<img src="https://img.shields.io/badge/twitter-follow%20%40s__schmid-blue.svg" alt="Twitter Follow Me"></a>
<a href="https://twitter.com/intent/follow?original_referer=https%3A%2F%2Fgithub.com%2Fsschmid%2FEntitas-CSharp&screen_name=entitas_csharp&tw_p=followbutton">
<img src="https://img.shields.io/badge/twitter-follow%20%40entitas__csharp-blue.svg" alt="Twitter Follow Me"></a>
<a href="https://travis-ci.org/sschmid/Entitas-CSharp">
<img src="https://travis-ci.org/sschmid/Entitas-CSharp.svg?branch=master" alt="Build Status"></a>
<a href="https://github.com/sschmid/Entitas-CSharp/releases">
<img src="https://img.shields.io/github/release/sschmid/Entitas-CSharp.svg" alt="Latest release"></a>
</p>
<p align="center">
<b>Entitas is free, but powered by</b>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BTMLSDQULZ852">
<b>your donations</b>
</a>
</p>
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.][clean-coders]
<p align="center">
<a href="https://dev.windows.com">
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/csharp.png" alt="CSharp" height="64"></a>
<a href="http://unity3d.com">
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/MadeForUnity.png" alt="Unity3d" height="64"></a>
<a href="http://unity3d.com/unite/archive/2015">
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/UniteEurope2015.png" alt="Unite Europe 2015" height="64"></a>
<a href="https://unite.unity.com/2016/europe">
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/UniteEurope2016.png" alt="Unite Europe 2016" height="64"></a>
<a href="https://www.wooga.com">
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/wooga-logo.png" alt="Wooga" height="64"></a>
<a href="http://gram.gs">
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/GramGames.png" alt="Gram Games.png" height="64"></a>
</p>
---
### **[» Download](#download-entitas)**
### **[» Documentation][documentation]**
### **[» Ask a question][issues-new]**
### **[» Wiki and example projects][wiki]**
### **[» #madeWithEntitas][wiki-games-and-examples]**
---
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][shmup1-thumb]][shmup1] | [![Shmup2][shmup2-thumb]][shmup2] | [![Unite 15][unite15-thumb]][unite15] | [![Unite 16][unite16-thumb]][unite16] |
| Setup & Basics | Git & Unit Tests | [» Open the slides on SlideShare: Unite Europe 2015][unite15-slides] | [» Open the slides on SlideShare: Unite Europe 2016][unite16-slides] |
First glimpse
=============
The optional [code generator][wiki-code-generator] lets you write code that is super fast, safe and literally screams its intent.
```csharp
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;
}
```
```csharp
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...][wiki-overview]
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...][wiki-code-generator]
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...][wiki-unity-integration]
<p align="center">
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/Entitas.Unity-MenuItems.png" alt="Entitas.Unity MenuItems" height="200"><br />
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/Entitas.Unity.VisualDebugging-Entity.png" alt="Entitas.Unity.VisualDebugging Entity" width="400">
<img src="https://raw.githubusercontent.com/sschmid/Entitas-CSharp/master/Readme/Images/Entitas.Unity.VisualDebugging-DebugSystems.png" alt="Entitas.Unity.VisualDebugging Systems" width="400">
</p>
Entitas deep dive
=================
[Read the wiki][wiki] or checkout the [example projects][wiki-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][releases]
Thanks to
=========
Big shout out to [@mzaks][github-mzaks], [@cloudjubei][github-cloudjubei] and [@devboy][github-devboy] for endless hours of discussion and helping making Entitas awesome!
Maintainer(s)
=============
- [@sschmid][github-sschmid] | [@s_schmid][twitter-sschmid] | [@entitas_csharp][twitter-entitas_csharp]
Different language?
===================
Entitas is available in
- [C#](https://github.com/sschmid/Entitas-CSharp)
- [Swift](https://github.com/mzaks/Entitas-Swift)
- [C++](https://github.com/JuDelCo/Entitas-Cpp)
- [Objective-C](https://github.com/wooga/entitas)
- [Java](https://github.com/Rubentxu/entitas-java)
- [Python](https://github.com/Aenyhm/entitas-python)
- [Scala](https://github.com/darkoverlordofdata/entitas-scala)
- [Go](https://github.com/wooga/go-entitas)
- [F#](https://github.com/darkoverlordofdata/entitas-fsharp)
- [TypeScript](https://github.com/darkov
没有合适的资源?快使用搜索试试~ 我知道了~
C# ECS框架
共1530个文件
cs:694个
html:264个
meta:199个
需积分: 48 19 下载量 21 浏览量
2018-11-06
12:31:30
上传
评论 2
收藏 13.24MB ZIP 举报
温馨提示
C# ECS框架
资源推荐
资源详情
资源评论
收起资源包目录
C# ECS框架 (1530个子文件)
ProjectSettings.asset 17KB
ProjectSettings.asset 16KB
NavMeshLayers.asset 9KB
NavMeshLayers.asset 9KB
InputManager.asset 6KB
InputManager.asset 6KB
QualitySettings.asset 5KB
QualitySettings.asset 5KB
UnityAdsSettings.asset 4KB
Jack.asset 3KB
Max.asset 3KB
GraphicsSettings.asset 2KB
GraphicsSettings.asset 2KB
Physics2DSettings.asset 1KB
Physics2DSettings.asset 1KB
NavMeshAreas.asset 1KB
NavMeshAreas.asset 1KB
UnityConnectSettings.asset 775B
UnityConnectSettings.asset 775B
DynamicsManager.asset 763B
DynamicsManager.asset 763B
Blueprints.asset 523B
EditorSettings.asset 455B
EditorSettings.asset 455B
TagManager.asset 378B
TagManager.asset 378B
AudioManager.asset 357B
AudioManager.asset 357B
TimeManager.asset 202B
TimeManager.asset 202B
NetworkManager.asset 151B
NetworkManager.asset 151B
EditorBuildSettings.asset 138B
EditorBuildSettings.asset 138B
PresetManager.asset 120B
ClusterInputManager.asset 114B
ClusterInputManager.asset 114B
bee 16KB
describe_Context.cs 26KB
describe_Entity.cs 24KB
describe_Matcher.cs 20KB
DebugSystemsInspector.cs 18KB
describe_EntityIndex.cs 18KB
EntityDrawer.cs 18KB
Entity.cs 17KB
describe_Group.cs 16KB
Context.cs 14KB
describe_ComponentDataProvider.cs 13KB
M0360_2.cs 11KB
describe_Collector.cs 10KB
EntityIndexDataProvider.cs 10KB
describe_Systems.cs 10KB
describe_ReactiveSystem.cs 10KB
Contexts.cs 9KB
DebugSystems.cs 9KB
ComponentDataProvider.cs 8KB
EntityIndexGenerator.cs 8KB
describe_Blueprints.cs 8KB
describe_EntitasErrorMessages.cs 7KB
EventSystemGenerator.cs 7KB
Group.cs 7KB
VisualDebuggingExampleController.cs 7KB
ArrayTypeDrawer.cs 7KB
EntityDrawerState.cs 6KB
BinaryBlueprintInspector.cs 6KB
TestComponentsLookup.cs 6KB
describe_EntityIndexDataProvider.cs 6KB
GameComponentsLookup.cs 6KB
CodeGeneratorExtentions.cs 6KB
EntitasPreferencesDrawer.cs 5KB
describe_M0260.cs 5KB
CheckForUpdates.cs 5KB
Collector.cs 5KB
SystemInfo.cs 5KB
VisualDebuggingPreferencesDrawer.cs 5KB
describe_SystemInfo.cs 5KB
Systems.cs 5KB
Test2UniqueClassToGenerateComponent.cs 5KB
TestUniqueClassToGenerateComponent.cs 5KB
EntitasHierarchyIcon.cs 5KB
Test2Test2MultipleEventsStandardEventRemovedListenerComponent.cs 4KB
ComponentLookupGenerator.cs 4KB
TestTestMultipleEventsStandardEventRemovedListenerComponent.cs 4KB
TestMyNamespaceUniqueMyNamespaceComponent.cs 4KB
Test2Test2MultipleContextStandardEventListenerComponent.cs 4KB
Test2Test2MultipleEventsStandardEventListenerComponent.cs 4KB
TestTestMultipleContextStandardEventListenerComponent.cs 4KB
TestTestMultipleEventsStandardEventListenerComponent.cs 4KB
TestStandardEntityEventRemovedListenerComponent.cs 4KB
describe_EntitasStringExtension.cs 4KB
EventSystemsGenerator.cs 4KB
ReadmeSnippets.cs 4KB
Test2Test2EventToGenerateListenerComponent.cs 4KB
GameISomeInterfaceComponent.cs 4KB
ListTypeDrawer.cs 4KB
TestUniqueStandardComponent.cs 4KB
TestTestEventToGenerateListenerComponent.cs 4KB
FeatureClassGenerator.cs 4KB
TestFlagEventRemovedListenerComponent.cs 4KB
TestUniqueEventComponent.cs 4KB
共 1530 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16
资源评论
菜鸟学渲染
- 粉丝: 2
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功