From adc9613592e6fc6d604eae56deaedc1a40f9b38d Mon Sep 17 00:00:00 2001 From: lishuo Date: Wed, 20 Jul 2022 16:42:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Resources/UI/language.json | 6 ++++-- Assets/Scripts/UIManager.cs | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Assets/Resources/UI/language.json b/Assets/Resources/UI/language.json index b9c03004..f13a775d 100644 --- a/Assets/Resources/UI/language.json +++ b/Assets/Resources/UI/language.json @@ -377,7 +377,8 @@ "CANCEL": "取消", "Are you sure you want to delete the account?": "是否确认注销账号?", "Delete Your Route": "删除您的线路", - "Are you sure you want to delete this route?": "你确定要删除这条线路吗?" + "Are you sure you want to delete this route?": "你确定要删除这条线路吗?", + "BATTLE": "对战" }, "en": { "HOT ROUTES": "HOT ROUTES", @@ -750,6 +751,7 @@ "CANCEL": "CANCEL", "Are you sure you want to delete the account?": "Are you sure you want to delete the account?", "Delete Your Route": "Delete Your Route", - "Are you sure you want to delete this route?": "Are you sure you want to delete this route?" + "Are you sure you want to delete this route?": "Are you sure you want to delete this route?", + "BATTLE": "BATTLE" } } diff --git a/Assets/Scripts/UIManager.cs b/Assets/Scripts/UIManager.cs index bc3a1e2d..8ec16258 100644 --- a/Assets/Scripts/UIManager.cs +++ b/Assets/Scripts/UIManager.cs @@ -832,11 +832,11 @@ public class UIManager : MonoBehaviour public static void ShowHomePanel() { -//#if !(UNITY_ANDROID || UNITY_IOS) -// ShowNewHomePanel(); -// return; -//#endif stack.Clear(); +#if !(UNITY_ANDROID || UNITY_IOS) + ShowNewHomePanel(); + return; +#endif UIManager.Instance.MainPanel.GetComponent().sprite = Resources.Load("Images/main-bg"); UIManager.Show(UIManager.Instance.HomePanel, UIManager.Instance.MainPanel);