From eb304aa9c876effa2c85b6eb96cee5b6b487dca1 Mon Sep 17 00:00:00 2001 From: wulongxiao <2545507770@qq.com> Date: Wed, 27 Nov 2024 01:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E4=BD=93=E7=AA=81?= =?UTF-8?q?=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TheStrongestSnail/Assets/Scenes/Scene_main.unity | 6 +++--- .../Assets/Scripts/Scene_main/Scene_main_jiekou.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TheStrongestSnail/Assets/Scenes/Scene_main.unity b/TheStrongestSnail/Assets/Scenes/Scene_main.unity index e1d90db..764c03e 100644 --- a/TheStrongestSnail/Assets/Scenes/Scene_main.unity +++ b/TheStrongestSnail/Assets/Scenes/Scene_main.unity @@ -2682,10 +2682,10 @@ MonoBehaviour: m_Calls: [] m_FontData: m_Font: {fileID: 12800000, guid: 90da32bc22c40e945a7affac54576b5e, type: 3} - m_FontSize: 45 + m_FontSize: 20 m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 0 + m_BestFit: 1 + m_MinSize: 5 m_MaxSize: 50 m_Alignment: 4 m_AlignByGeometry: 0 diff --git a/TheStrongestSnail/Assets/Scripts/Scene_main/Scene_main_jiekou.cs b/TheStrongestSnail/Assets/Scripts/Scene_main/Scene_main_jiekou.cs index 681504e..877a724 100644 --- a/TheStrongestSnail/Assets/Scripts/Scene_main/Scene_main_jiekou.cs +++ b/TheStrongestSnail/Assets/Scripts/Scene_main/Scene_main_jiekou.cs @@ -26,7 +26,7 @@ public class Scene_main_jiekou :Base Debug.Log(_realPlayerInfo.data.nickName); Debug.Log(_realPlayerInfo.data.voluteCoin); Debug.Log(_realPlayerInfo.data.beansCoin); - _mainBTN.UpDatePlayer(_realPlayerInfo.data.nickName, _realPlayerInfo.data.voluteCoin.ToString(), _realPlayerInfo.data.beansCoin.ToString()); + _mainBTN.UpDatePlayer(_realPlayerInfo.data.nickName, _realPlayerInfo.data.voluteCoin.ToString("f1")+"M", _realPlayerInfo.data.beansCoin.ToString("f1")+"M"); } async Task StartAsync() {