diff --git a/Assets/Resources/UI/Prefab/Panel/UserInfoPanel.prefab b/Assets/Resources/UI/Prefab/Panel/UserInfoPanel.prefab index f9a49824..2ebd35b2 100644 --- a/Assets/Resources/UI/Prefab/Panel/UserInfoPanel.prefab +++ b/Assets/Resources/UI/Prefab/Panel/UserInfoPanel.prefab @@ -2469,7 +2469,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: mType: 3 - Tooltips: CHANGE ACCOUNT + Tooltips: DELETE ACCOUNT --- !u!1 &5404217437987161135 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Resources/UI/language.json b/Assets/Resources/UI/language.json index b9c03004..d154def2 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?": "你确定要删除这条线路吗?", + "DELETE ACCOUNT": "注销账号" }, "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?", + "DELETE ACCOUNT": "DELETE ACCOUNT" } } diff --git a/Assets/Scripts/UI/Prefab/MapList/MapItem.cs b/Assets/Scripts/UI/Prefab/MapList/MapItem.cs index dcd60523..12953748 100644 --- a/Assets/Scripts/UI/Prefab/MapList/MapItem.cs +++ b/Assets/Scripts/UI/Prefab/MapList/MapItem.cs @@ -113,28 +113,27 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler, diff.Find("Text").GetComponent().text = myMap.Hard; tabContainer.Find("3d").gameObject.SetActive(myMap.Enable3D); tabContainer.Find("Country").GetComponent().texture = UIManager.Instance.loginRegOptions.GetCountryImage(myMap.CountryCode); - if (!isModal) + transform.Find("CollectImg").GetComponent