From 81246b1a1b3bba403a7fe1d2e9b59382e36ad1da Mon Sep 17 00:00:00 2001 From: shenjianxing <”315615051@qq.com“> Date: Sat, 11 Jan 2025 13:52:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=90=E7=BB=A9UIbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/UIScore.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Scripts/UI/UIScore.cs b/Assets/Scripts/UI/UIScore.cs index 4856c51e..a4636f5e 100644 --- a/Assets/Scripts/UI/UIScore.cs +++ b/Assets/Scripts/UI/UIScore.cs @@ -61,6 +61,8 @@ namespace QFramework.Example sum += float.Parse(item.Value.sum); score += item.Value.value; } + this.Score.text = score.ToString(); + this.Sum.text = sum.ToString(); } protected override void OnShow()