28 lines
651 B
C#
28 lines
651 B
C#
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();
|
|
}
|
|
|
|
public override void OnClick_Back()
|
|
{
|
|
base.OnClick_Back();
|
|
if (MyInfoUI.isIns) MyInfoUI.Ins.Set();
|
|
}
|
|
} |