Assets/Resources/UI/Final/FinalPanel.prefab | ●●●●● patch | view | raw | blame | history | |
Assets/Scripts/Common/GameConfig.cs | ●●●●● patch | view | raw | blame | history | |
Assets/Scripts/GameAnalytics_SDK/UI/LoginUI.cs | ●●●●● patch | view | raw | blame | history | |
Assets/Scripts/Manager/ManagerRoot.cs | ●●●●● patch | view | raw | blame | history |
Assets/Resources/UI/Final/FinalPanel.prefab
@@ -4838,7 +4838,7 @@ - target: {fileID: 3047146065604292524, guid: b9e71f5997dfccf469dc973bc541697e, type: 3} propertyPath: m_LocalPosition.z value: -72 value: 0 objectReference: {fileID: 0} - target: {fileID: 3047146065604292524, guid: b9e71f5997dfccf469dc973bc541697e, type: 3} Assets/Scripts/Common/GameConfig.cs
@@ -15,6 +15,7 @@ public static string NextSceneName = "Endless2D"; // public static string NextSceneName = "Endless"; public static bool useSDK = false; public static string Imei; public static bool isFirstStart = true; Assets/Scripts/GameAnalytics_SDK/UI/LoginUI.cs
@@ -53,7 +53,7 @@ //transform.Find("Panel/Button (1)").GetComponent<Button>().onClick.AddListener(OnClickResetBtn); if (Application.platform == RuntimePlatform.Android) { //GetetDeviceIMEI();//获取安卓手机IMEI @@ -143,17 +143,17 @@ if (!isLogining) { // CoderM: 在这里要使用SDK来进行登录了 SDKCallBack.ins.setNextAction("login", loginNext); SDKManager.ins.sdk.login(); //progressSlider.gameObject.SetActive(true); //startBtn.gameObject.SetActive(false); //AudioSourceManager.Ins.Play(AudioEnum.UI); //TDAA_SDKManager.Ins.Statistics(2);//埋点 //GameConfig.isFirstStart = false; //StartCoroutine(loginMy()); if (GameConfig.useSDK) { //设置login的回调 SDKCallBack.ins.setNextAction("login", loginNext); SDKManager.ins.sdk.login(); } else { //没有使用SDK loginNext(); } } else { Assets/Scripts/Manager/ManagerRoot.cs
@@ -18,7 +18,8 @@ DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(200, 10); root = new GameObject("ManagerRoot"); root.AddComponent<SDKCallBack>(); if (GameConfig.useSDK) root.AddComponent<SDKCallBack>(); root.AddComponent<DoNotDestory>(); root.AddComponent<MasterSocket>(); root.AddComponent<TDAA_SDKManager>();