From 0792ab377b82eed196ecdfd34dab84311bddf7a1 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 15 九月 2025 17:06:20 +0800
Subject: [PATCH] 0312 加载场景
---
Main/System/Message/SysNotifyMgr.cs | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/Main/System/Message/SysNotifyMgr.cs b/Main/System/Message/SysNotifyMgr.cs
index 414ed80..1e7710e 100644
--- a/Main/System/Message/SysNotifyMgr.cs
+++ b/Main/System/Message/SysNotifyMgr.cs
@@ -66,7 +66,7 @@
// BattleHint.Instance.OnStageLoadFinish();
}
- private void BeforePlayerDataInitializeEvent()
+ public void BeforePlayerDataInitializeEvent()
{
ScrollTip.m_Hints.Clear();
ServerTipDetails.ClearHint();
@@ -149,6 +149,7 @@
}
}
+ //淇℃伅鎻愮ず琛ㄧ殑鎻愮ず
public void ShowTip(string key, params object[] msg)
{
SysInfoConfig cfg = SysInfoConfig.Get(key);
@@ -158,6 +159,23 @@
tipInfoList.AddRange(msg);
AnalysisSysmsg(cfg);
}
+ else
+ {
+ Debug.LogError("鏈壘鍒扮郴缁熸彁绀轰俊鎭�: " + key);
+ }
+ }
+
+ //璇█琛ㄧ殑鎻愮ず
+ public void ShowLangTip(string key, params object[] msg)
+ {
+ string hint = Language.Get(key, msg);
+ ScrollTip.ShowTip(hint);
+ }
+
+ //鐩存帴浼犳枃瀛楃殑鎻愮ず
+ public void ShowStringTip(string hint)
+ {
+ ScrollTip.ShowTip(hint);
}
void AnalysisSysmsg(SysInfoConfig cfg)
--
Gitblit v1.8.0