You've already forked taptap2024_GJ_chidouren
updat core
This commit is contained in:
@@ -47,11 +47,11 @@ namespace StateSystem.State
|
||||
// return;
|
||||
//初始化资源管理器,并挂载AlwaysRes下的所有资源
|
||||
AssetManager.Instance.Rouse ();
|
||||
#if UNITY_EDITOR
|
||||
ManagerInit ();
|
||||
return;
|
||||
#endif
|
||||
if (SceneManager.GetActiveScene ().name != SceneName.InitScene.ToString ())
|
||||
// #if UNITY_EDITOR
|
||||
// ManagerInit ();
|
||||
// return;
|
||||
// #endif
|
||||
if (SceneManager.GetActiveScene ().name == "SetupScene")
|
||||
{
|
||||
this._sceneLoader = new SceneLoader (SceneName.InitScene, true);
|
||||
this._sceneLoader.BeginLoad (null, ManagerInit);
|
||||
|
||||
Reference in New Issue
Block a user