From bc1cb6da854cb2e9144f10ed55330a537ecdca16 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 04 三月 2026 14:35:57 +0800
Subject: [PATCH] 466 h5版本 资源规则修改 打包修改(未完成 勿拉取)
---
Main/System/PlayerProfile/PlayerProfileWin.cs | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/Main/System/PlayerProfile/PlayerProfileWin.cs b/Main/System/PlayerProfile/PlayerProfileWin.cs
index ab17e8e..abb29ed 100644
--- a/Main/System/PlayerProfile/PlayerProfileWin.cs
+++ b/Main/System/PlayerProfile/PlayerProfileWin.cs
@@ -1,4 +1,4 @@
-using System;
+锘縰sing System;
using UnityEngine;
public class PlayerProfileWin : UIBase
@@ -26,37 +26,40 @@
protected override void InitComponent()
{
base.InitComponent();
- btnSetting.SetListener(() => { UIManager.Instance.OpenWindow<SystemSetWin>(); });
+ btnSetting.SetListener(() => { UIManager.Instance.OpenWindowAsync<SystemSetWin>().Forget(); });
btnAnnouncement.SetListener(() => { GameNotice.OpenGameNoticeForce(); });
btnSwitchServer.SetListener(() => { GameNetSystem.Instance.LoginOut(); });
btnRedemptionCode.SetListener(() =>
{
if (!FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.Mail, true))
return;
- UIManager.Instance.OpenWindow<ExchangeCodeWin>();
+ UIManager.Instance.OpenWindowAsync<ExchangeCodeWin>().Forget();
});
btnCopy.SetListener(() =>
{
UIHelper.CopyToClipboard(PlayerDatas.Instance.baseData.PlayerID.ToString());
SysNotifyMgr.Instance.ShowTip("CopySuccess");
});
- btnChangeName.SetListener(() => { UIManager.Instance.OpenWindow<RenameWin>(); });
+ btnChangeName.SetListener(() => { UIManager.Instance.OpenWindowAsync<RenameWin>().Forget(); });
btnText1.SetListener(() =>
{
// GameAgeWarnWin.data = 1;
- // UIManager.Instance.OpenWindow<GameAgeWarnWin>();
+ // UIManager.Instance.OpenWindowAsync<GameAgeWarnWin>().Forget();
SDKUtils.Instance.OpenUrl(OPConfigConfig.Get("yhxy").content);
});
btnText2.SetListener(() =>
{
// GameAgeWarnWin.data = 2;
- // UIManager.Instance.OpenWindow<GameAgeWarnWin>();
+ // UIManager.Instance.OpenWindowAsync<GameAgeWarnWin>().Forget();
SDKUtils.Instance.OpenUrl(OPConfigConfig.Get("yszc").content);
});
- avatarCell.redpoint.redpointId = MainRedDot.PhantasmPavilionRepoint;
- avatarCell.SetListener(() =>
+ avatarCell.SetOnLoaded(() =>
{
- UIManager.Instance.OpenWindow<PhantasmPavilionWin>();
+ avatarCell.redpoint.redpointId = MainRedDot.PhantasmPavilionRepoint;
+ avatarCell.SetListener(() =>
+ {
+ UIManager.Instance.OpenWindowAsync<PhantasmPavilionWin>().Forget();
+ });
});
}
--
Gitblit v1.8.0