한정 상자 2

This commit is contained in:
Ino 2025-04-18 15:29:58 +09:00
parent 6fff43ebfa
commit 1685c9dc49
3 changed files with 22 additions and 0 deletions

Binary file not shown.

View File

@ -262,6 +262,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c77f40d8be0d24c4d9e39a4e24919561, type: 3}
m_Name:
m_EditorClassIdentifier:
images:
- {fileID: 5364980981734795523}
texts:
- {fileID: 8248318834976252547}
gos:
- {fileID: 8378390155349259184}
--- !u!1 &3233518760462765412
GameObject:
m_ObjectHideFlags: 0

View File

@ -1,7 +1,23 @@
using TMPro;
using UnityEngine;
using UnityEngine.UI;
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)
{
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);
}
}