Project_WL/Assets/Script/UI/PC/Ability/AbilityResetUI.cs

26 lines
457 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using System;
using TMPro;
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();
2025-07-01 01:14:52 +00:00
m_MoneyForm.amount.text = "100";
2024-12-15 01:39:39 +00:00
}
public void OnClick_OK()
{
OnClick_Back();
act_OK();
}
}