fix:1、sdk更换。2、修复bug
This commit is contained in:
@@ -13,14 +13,14 @@ public class ChillConnectRoot : MonoBehaviour
|
||||
{
|
||||
public void Awake()
|
||||
{
|
||||
#if UNITY_EDITOR || GAME_RELEASE
|
||||
#if UNITY_EDITOR || GAME_RELEASE || GAME_RELEASE1
|
||||
GameObject ingameDebugConsole = GameObject.Find("IngameDebugConsole");
|
||||
if (ingameDebugConsole != null) ingameDebugConsole.SetActive(false);
|
||||
#endif
|
||||
|
||||
// NetworkKit.Instance.InitData(ConfigManager.GameConfig.packageName, ConfigManager.GameConfig.isRelease);
|
||||
|
||||
SdkConfigMgr.Init();
|
||||
// SdkConfigMgr.Init();
|
||||
|
||||
MaxADKit.Init();
|
||||
|
||||
@@ -36,6 +36,10 @@ public class ChillConnectRoot : MonoBehaviour
|
||||
|
||||
public static void OnLauncher()
|
||||
{
|
||||
Language.LoadLocalizedText();
|
||||
Language.Initialize();
|
||||
|
||||
|
||||
AppObjConst.FrameGo = new GameObject($"{AppObjConst.FrameGoName}");
|
||||
AppObjConst.FrameGo.AddComponent<ChillConnectCore>();
|
||||
DontDestroyOnLoad(AppObjConst.FrameGo);
|
||||
|
||||
Reference in New Issue
Block a user