From dc35cef004153926597dc4510b581f184f16e7d4 Mon Sep 17 00:00:00 2001 From: Ino Date: Thu, 2 Oct 2025 15:19:56 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=81=EC=A0=90=EC=9D=98=20=ED=8C=90?= =?UTF-8?q?=EB=A7=A4=20=EA=B0=80=EA=B2=A9=20=EB=B2=84=ED=8A=BC=20=ED=95=98?= =?UTF-8?q?=EB=8B=A8=EC=9D=98=20=ED=9A=A8=EC=9C=A8=20=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=EB=8A=94=20=EC=A0=9C=EA=B1=B0=ED=95=B4=EC=A3=BC=EC=84=B8?= =?UTF-8?q?=EC=9A=94.=20(=EC=8B=AC=EB=B3=BC=20=EC=A0=95=EB=B3=B4=EC=99=80?= =?UTF-8?q?=20=EC=A4=91=EB=B3=B5=EB=90=A9=EB=8B=88=EB=8B=A4.)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scenes/SampleScene.unity | 16 ++++++++-------- Assets/Scripts/UI/ShopCard.cs | 6 ++++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 360c327..c8f4e18 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -21672,7 +21672,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 708.62305, y: -1213.15} + m_AnchoredPosition: {x: 540, y: -1213.15} m_SizeDelta: {x: 1080, y: 438.1} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &563898771 @@ -33071,8 +33071,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 9.764999} - m_SizeDelta: {x: 0, y: 19.530003} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0.0000009536743} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &902728103 MonoBehaviour: @@ -45807,7 +45807,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: \00,000 + m_text: m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2} m_sharedMaterial: {fileID: -3574565475228871172, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2} @@ -52654,7 +52654,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 708.62305, y: -301.85} + m_AnchoredPosition: {x: 540, y: -301.85} m_SizeDelta: {x: 1080, y: 491.7} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1370974287 @@ -55924,7 +55924,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 708.62305, y: -2366.1} + m_AnchoredPosition: {x: 540, y: -2366.1} m_SizeDelta: {x: 1080, y: 1867.8} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1449842650 @@ -60035,7 +60035,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: "000% \uD6A8\uC728" + m_text: m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2} m_sharedMaterial: {fileID: -3574565475228871172, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2} @@ -74734,7 +74734,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 708.62305, y: -770.9} + m_AnchoredPosition: {x: 540, y: -770.9} m_SizeDelta: {x: 1080, y: 446.4} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1923473963 diff --git a/Assets/Scripts/UI/ShopCard.cs b/Assets/Scripts/UI/ShopCard.cs index e76fe57..3652a05 100644 --- a/Assets/Scripts/UI/ShopCard.cs +++ b/Assets/Scripts/UI/ShopCard.cs @@ -89,7 +89,8 @@ public class ShopCard : MonoBehaviour m_Data = table_shop.Ins.Get_Data(m_ID); i_shopitem.sprite = UIAtlasMgr.Ins.Get_Sprite(m_Data.s_Icon); i_shopitem.SetNativeSize(); - if (t_peakefficiency != null) t_peakefficiency.text = $"{m_Data.s_PeakEffective} 효율"; + //if (t_peakefficiency != null) t_peakefficiency.text = $"{m_Data.s_PeakEffective} 효율"; + if (t_peakefficiency != null) t_peakefficiency.text = ""; if (t_sale != null) t_sale.text = m_Data.s_PeakEffective; if (t_amount != null) t_amount.text = m_Data.Get_Amount(); if (t_name != null) t_name.text = m_Data.s_Name; @@ -113,7 +114,8 @@ public class ShopCard : MonoBehaviour if (t_price != null) { t_price.text = m_Data.e_BuyType == eShopBuyType.IAP ? $"{m_Data.n_Price}원" : m_Data.n_Price.ToString(); - t_price.transform.localPosition = !string.IsNullOrEmpty(m_Data.s_PeakEffective) ? Vector3.up * 10f : Vector3.zero; + //t_price.transform.localPosition = !string.IsNullOrEmpty(m_Data.s_PeakEffective) ? Vector3.up * 10f : Vector3.zero; + t_price.transform.localPosition = Vector3.zero; } if (m_Data.e_BuyType == eShopBuyType.Coin) Set_Btn_bybuyMoney(eMoney.Gacha);