mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Entitas
Entitas
This commit is contained in:
@@ -13,7 +13,7 @@ namespace TEngine
|
||||
{
|
||||
// 初始化框架
|
||||
GameContext.Init();
|
||||
new GameObject("[TEngine.Unity]").AddComponent<GameSystem>();
|
||||
new GameObject("[EntitySystem]").AddComponent<GameSystem>();
|
||||
// 框架需要一个Scene来驱动、所以要创建一个Scene、后面所有的框架都会在这个Scene下
|
||||
// 也就是把这个Scene给卸载掉、框架的东西都会清除掉
|
||||
return Scene.Create("Unity");
|
||||
|
Reference in New Issue
Block a user