打开窗口框架
This commit is contained in:
@@ -1,10 +1,25 @@
|
||||
namespace CreatGame
|
||||
using System.Collections;
|
||||
using CreatGame.UI;
|
||||
using UnityEditor.VersionControl;
|
||||
|
||||
namespace CreatGame
|
||||
{
|
||||
public class GameLogic : Singleton<GameLogic>
|
||||
{
|
||||
public void Start()
|
||||
public IEnumerator Start()
|
||||
{
|
||||
AssetBundle.AssetBundleManager.Instance.Initialize();
|
||||
AssetBundle.AssetBundleManager.Instance.Initialize();
|
||||
while (true)
|
||||
{
|
||||
if (AssetBundle.AssetBundleManager.Instance.IsInitializeAsync)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
yield return null;
|
||||
}
|
||||
|
||||
UIManager.Instance.OpenView<UI.UIMainView>(UILayer.Main);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user