Project_WL/Assets/Script/UI/Menu/BotMenuBase.cs

28 lines
651 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BotMenuBase : uScrollViewMgr
{
public MoneyForm[] moneyForms;
public void Set_Money(params int[] ids)
{
for (int i = 0; i < moneyForms.Length; i++)
moneyForms[i].Set(0);
for (int i = 0; i < ids.Length; i++)
moneyForms[i].Set(ids[i]);
}
public void Refresh_Money()
{
for (int i = 0; i < moneyForms.Length; i++)
moneyForms[i].Refresh();
}
2025-03-04 01:22:43 +00:00
public override void OnClick_Back()
{
base.OnClick_Back();
if (MyInfoUI.isIns) MyInfoUI.Ins.Set();
}
2024-12-15 01:39:39 +00:00
}