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);