| Main/System/ClientVersion/RequestSecretWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/Login/LoginWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/PlayerProfile/PlayerProfileWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/System/ClientVersion/RequestSecretWin.cs
@@ -5,6 +5,7 @@ using DG.Tweening; using Cysharp.Threading.Tasks; //目前没用,用的是SDK的 public class RequestSecretWin : UIBase { // 组件引用 @@ -19,7 +20,8 @@ base.InitComponent(); // 初始化组件引用 m_Confirm.SetListener(Confirm); m_Cannel.SetListener(() => { m_Cannel.SetListener(() => { Debug.LogError("Cannel"); CloseWindow(); #if UNITY_EDITOR @@ -28,15 +30,15 @@ Application.Quit(); #endif }); m_Fuwu.SetListener(()=> { m_Fuwu.SetListener(() => { // GameAgeWarnWin.data = 1; // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); SDKUtils.Instance.OpenUrl("https://res.xingwan001.com/storage/d1rhn239ao69cjnvqa9g"); }); m_Yinsi.SetListener(() => { m_Yinsi.SetListener(() => { // GameAgeWarnWin.data = 2; // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); SDKUtils.Instance.OpenUrl("https://res.xingwan001.com/storage/d1rhhuj9ao69cjnvqa90"); }); } Main/System/Login/LoginWin.cs
@@ -38,9 +38,8 @@ [SerializeField] Button ageWarn; [SerializeField] Text verInfo; // [SerializeField] Text m_Banhao; [SerializeField] Text m_Banhao; string banhaoStr = ""; protected override void InitComponent() { base.InitComponent(); @@ -66,14 +65,14 @@ { // GameAgeWarnWin.data = 1; // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); SDKUtils.Instance.OpenUrl("https://res.xingwan001.com/storage/d1rhn239ao69cjnvqa9g"); SDKUtils.Instance.OpenUrl(OPConfigConfig.Get("yhxy").content); }); hideRead.SetListener(() => { // GameAgeWarnWin.data = 2; // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); SDKUtils.Instance.OpenUrl("https://res.xingwan001.com/storage/d1rhhuj9ao69cjnvqa90"); SDKUtils.Instance.OpenUrl(OPConfigConfig.Get("yszc").content); }); ageWarn.SetListener(() => { @@ -84,7 +83,6 @@ { LocalSave.SetBool("secretToggleStart5", value); }); // banhaoStr = LoadConfig(); } protected override void OnPreOpen() @@ -115,7 +113,7 @@ { SDKUtils.Instance.FreePlatformLogin(); } // m_Banhao.text = banhaoStr; m_Banhao.text = OPConfigConfig.Get("banhao").content; } protected override void OnOpenAnimationComplete() @@ -411,20 +409,4 @@ } public string LoadConfig() { string path = string.Empty; #if UNITY_EDITOR if (!AssetSource.isUseAssetBundle) { path = ResourcesPath.CONFIG_FODLER + "/banhao.txt"; } else #endif { path = AssetVersionUtility.GetAssetFilePath($"config/banhao.txt"); } return File.ReadAllText(path); } } Main/System/PlayerProfile/PlayerProfileWin.cs
@@ -38,13 +38,15 @@ btnChangeName.SetListener(() => { UIManager.Instance.OpenWindow<RenameWin>(); }); btnText1.SetListener(() => { GameAgeWarnWin.data = 1; UIManager.Instance.OpenWindow<GameAgeWarnWin>(); // GameAgeWarnWin.data = 1; // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); SDKUtils.Instance.OpenUrl(OPConfigConfig.Get("yhxy").content); }); btnText2.SetListener(() => { GameAgeWarnWin.data = 2; UIManager.Instance.OpenWindow<GameAgeWarnWin>(); // GameAgeWarnWin.data = 2; // UIManager.Instance.OpenWindow<GameAgeWarnWin>(); SDKUtils.Instance.OpenUrl(OPConfigConfig.Get("yszc").content); }); avatarCell.redpoint.redpointId = MainRedDot.PhantasmPavilionRepoint; avatarCell.SetListener(() =>