using System; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class AbilityResetUI : BackKeyAdd { public MoneyForm m_MoneyForm; public TextMeshProUGUI[] texts; // 0 타입 Action act_OK; public void Set(eBattleType battleType, Action ok) { base.Set(); act_OK = ok; texts[0].text = battleType.ToString(); m_MoneyForm.amount.text = "1"; } public void OnClick_OK() { OnClick_Back(); act_OK(); } }