한정 상자 2
This commit is contained in:
parent
6fff43ebfa
commit
1685c9dc49
Binary file not shown.
|
|
@ -262,6 +262,12 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: c77f40d8be0d24c4d9e39a4e24919561, type: 3}
|
m_Script: {fileID: 11500000, guid: c77f40d8be0d24c4d9e39a4e24919561, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
images:
|
||||||
|
- {fileID: 5364980981734795523}
|
||||||
|
texts:
|
||||||
|
- {fileID: 8248318834976252547}
|
||||||
|
gos:
|
||||||
|
- {fileID: 8378390155349259184}
|
||||||
--- !u!1 &3233518760462765412
|
--- !u!1 &3233518760462765412
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,23 @@
|
||||||
|
using TMPro;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class GachaRewardCard : CardBase
|
public class GachaRewardCard : CardBase
|
||||||
{
|
{
|
||||||
|
public Image[] images; // 0 아이콘
|
||||||
|
public TextMeshProUGUI[] texts; // 0 수량
|
||||||
|
public GameObject[] gos; // 0 체크 상태
|
||||||
|
|
||||||
|
GachaRandomBagTableData m_Data;
|
||||||
|
|
||||||
public override void Set<T>(T _base)
|
public override void Set<T>(T _base)
|
||||||
{
|
{
|
||||||
base.Set(_base);
|
base.Set(_base);
|
||||||
|
|
||||||
|
m_Data = _base as GachaRandomBagTableData;
|
||||||
|
|
||||||
|
images[0].sprite = UIAtlasMgr.Ins.Get_Sprite(m_Data.n_RewardID);
|
||||||
|
texts[0].text = "1";
|
||||||
|
gos[0].SetActive(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue