本文由Inspoy出于个人兴趣进行翻译,第一次翻译文档,水平有限难免出现翻译错误,语句不通顺,语序错乱崩坏。。而且也许不能及时更新到最新的官方版本,最重要的是,随时可能弃坑←_←
- 原文链接
- 对应官方版本:Release 6
- RotationExample.unity: 改变位于一个运动的球体里的Entity的Component的循环。
-
Keynote: The future of Unity (Entity Component System & Performance) by Joachim Ante
-
Unity Job System and Entity Component System by Tim Johansson [FULL VIDEO]
-
C# Sharp to Machine Code by Andreas Fredriksson [FULL VIDEO]
-
Exclusive: Unity takes a principled step into triple-A performance at GDC
- Keynote: Performance demo ft. Nordeus by Joachim Ante
- Unity GitHub repository of Nordeus demo
- Writing high performance C# scripts by Joachim Ante [FULL VIDEO]
Entity 迭代:
- 我们已经实现了多种方式(foreach vs 数组,注入 vs API)。现在我们暴露了所有可能的方式,以便用户可以先尽量尝试然后向我们反馈你们更喜欢哪一种。之后我们会删除其他的方式,只保留一个最好的。
使用ECS的Job API:
- 我们相信可以让它变得更简洁。接下来要尝试的是Async / Await,看看是否有一些又快又简单的模式。
我们的目标是,让Entity可以像GameObject那样可以在编辑器里编辑。场景中要么都是Entity,要么都是GameObject。然而我们现在并没有工具可以不通过GameObject来编辑Entity。所以之后我们想实现:
- 在Hierarchy和Inspector窗口中显示和编辑Entity。
- 让Entity支持保存、打开场景,保存为Prefab。