상점 작업 중... 2

This commit is contained in:
Ino 2025-09-25 08:37:35 +09:00
parent 191e5f0c51
commit ad755fafb6
3 changed files with 7319 additions and 3896 deletions

View File

@ -9,7 +9,7 @@ public enum eShopBuyType { IAP, AD, Coin, Heart }
[Serializable]
public class shoptabledata
{
public string s_ID, s_Name, s_PeakEffective, s_Items;
public string s_ID, s_Name, s_PeakEffective, s_Items, s_Icon;
public eInAppInitType e_InAppInitType;
public eShopBuyType e_BuyType;
ProtectedInt32 _Price; public int n_Price { get { return _Price; } set { _Price = value; _Price.Obfuscate(); } }

File diff suppressed because it is too large Load Diff

View File

@ -35,6 +35,7 @@ public class ShopCard : MonoBehaviour
private void OnEnable()
{
m_Data = table_shop.Ins.Get_Data(m_ID);
i_shopitem.sprite = UIAtlasMgr.Ins.Get_Sprite(m_Data.s_Icon);
if (t_peakefficiency != null) t_peakefficiency.text = m_Data.s_PeakEffective;
t_name.text = m_Data.s_Name;
t_goods.text = m_Data.s_Items;