Project_WL/Assets/Script/UI/Common/TopMoney.cs

20 lines
354 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class TopMoney : MonoBehaviourSingletonTemplate<TopMoney>
{
public MoneyForm[] moneys; // 0 젬, 1 골드
private void OnEnable()
{
Set();
}
public void Set()
{
moneys[0].Set(1);
moneys[1].Set(2);
}
}