상점 작업 중... 2
This commit is contained in:
parent
191e5f0c51
commit
ad755fafb6
|
|
@ -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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue