From 60597456e9ac702c2f30081d68b5fd3c7f4175c8 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Mon, 14 Jul 2025 14:31:45 -0700 Subject: [PATCH] Swap price & designer name places --- Assets/Scenes/IconMarketplaceMenu.unity | 6 +++--- .../Scripts/IconMarketplace/IconMarketplaceDownloadIcon.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/Scenes/IconMarketplaceMenu.unity b/Assets/Scenes/IconMarketplaceMenu.unity index 61a6361..26e91e5 100644 --- a/Assets/Scenes/IconMarketplaceMenu.unity +++ b/Assets/Scenes/IconMarketplaceMenu.unity @@ -2015,7 +2015,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0.5} m_AnchorMax: {x: 1, y: 0.5} - m_AnchoredPosition: {x: 0, y: -30} + m_AnchoredPosition: {x: 0, y: -70} m_SizeDelta: {x: 0, y: 25} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &716127916 @@ -5401,7 +5401,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0.5} m_AnchorMax: {x: 1, y: 0.5} - m_AnchoredPosition: {x: 0, y: -70} + m_AnchoredPosition: {x: 0, y: -30} m_SizeDelta: {x: 0, y: 25} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1916455837 @@ -5882,8 +5882,8 @@ RectTransform: m_Children: - {fileID: 1181921665} - {fileID: 1866619515} - - {fileID: 716127914} - {fileID: 1916455836} + - {fileID: 716127914} - {fileID: 1475930415} m_Father: {fileID: 1517048289} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Scripts/IconMarketplace/IconMarketplaceDownloadIcon.cs b/Assets/Scripts/IconMarketplace/IconMarketplaceDownloadIcon.cs index 3868054..aa4a205 100644 --- a/Assets/Scripts/IconMarketplace/IconMarketplaceDownloadIcon.cs +++ b/Assets/Scripts/IconMarketplace/IconMarketplaceDownloadIcon.cs @@ -70,8 +70,8 @@ public class IconMarketplaceDownloadIcon : MonoBehaviour ImageUtil.RenderFromBase64(entry["data"].ToString(), newIcon.transform.GetChild(0).GetChild(0).GetComponent()); newIcon.transform.GetChild(1).GetComponent().text = "Bird Name: " + entry["name"].ToString(); - newIcon.transform.GetChild(2).GetComponent().text = "Designer Name: " + entry["username"].ToString(); - newIcon.transform.GetChild(3).GetComponent().text = "Price " + entry["price"].ToString() + " coin"; + newIcon.transform.GetChild(2).GetComponent().text = "Price " + entry["price"].ToString() + " coin"; + newIcon.transform.GetChild(3).GetComponent().text = "Designer Name: " + entry["username"].ToString(); newIcon.transform.GetChild(4).GetChild(0).GetComponent().text = "Purchase"; newIcon.SetActive(true);