Files
M-Gameton-06/Gameton-06/Assets/Gameton/Scripts/UI/GoldPopup.cs
2025-03-01 20:27:44 +09:00

23 lines
454 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TON
{
public class GoldPopup : UIBase
{
public static GoldPopup Instance => UIManager.Singleton.GetUI<GoldPopup>(UIList.GoldPopup);
private void OnEnable()
{
Invoke(nameof(HidePopup), 3f);
}
private void HidePopup()
{
UIManager.Hide<GoldPopup>(UIList.GoldPopup);
}
}
}