|
@@ -3,13 +3,13 @@ using GFGGame;
|
|
|
using GFGGame.Launcher;
|
|
|
using FairyGUI;
|
|
|
using System;
|
|
|
+using System.Collections.Generic;
|
|
|
|
|
|
public class GameLauncher : MonoBehaviour
|
|
|
{
|
|
|
private void Awake()
|
|
|
{
|
|
|
DontDestroyOnLoad(gameObject);
|
|
|
-
|
|
|
}
|
|
|
|
|
|
// Start is called before the first frame update
|
|
@@ -22,7 +22,7 @@ public class GameLauncher : MonoBehaviour
|
|
|
HealthAdviceView.Instance.Open();
|
|
|
InitBugly();
|
|
|
|
|
|
- int time = LauncherConfig.netType == LauncherConfig.EnumNetType.LOCAL ? 1 : 10;
|
|
|
+ int time = LauncherConfig.netType == LauncherConfig.EnumNetType.TISHEN ? 10 : 1;
|
|
|
Timers.inst.Add(time, 1, (object param) =>
|
|
|
{
|
|
|
HealthAdviceView.Instance.Close();
|
|
@@ -108,7 +108,7 @@ public class GameLauncher : MonoBehaviour
|
|
|
{
|
|
|
BuglyAgent.InitWithAppId("766c5bdb0f");
|
|
|
}
|
|
|
- else if (LauncherConfig.netType == LauncherConfig.EnumNetType.DEV)
|
|
|
+ else if (LauncherConfig.netType == LauncherConfig.EnumNetType.TEMP)
|
|
|
{
|
|
|
BuglyAgent.InitWithAppId("b6d0b1b8c5");
|
|
|
}
|