@@ -1,8 +1,10 @@
-namespace ET
+using GFGGame;
+namespace ET
{
public static class ConstValue
- public const string LoginAddress = "10.108.64.190:10005";
- //public const string LoginAddress = "127.0.0.1:10005";
+ //public static string LoginAddress = "10.108.64.190:10005";
+ public static string LoginAddress = LauncherConfig.loginApiUrl;
+ //public static string LoginAddress = "127.0.0.1:10005";
}
@@ -38,7 +38,7 @@ namespace GFGGame.HotUpdate
//sqlite
SqliteController.Instance.Init(false, ResPathUtil.SQLITE_FILE_PATH);
//开始游戏
- GameController.Start();
+ GameController.Start().Coroutine();
Debug.Log("HotUpdateEntry Start completed");