feat: 골드 생선 부족 시 경고 팝업 추가
This commit is contained in:
20
Gameton-06/Assets/Gameton/Scripts/UI/GoldPopup.cs
Normal file
20
Gameton-06/Assets/Gameton/Scripts/UI/GoldPopup.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TON
|
||||
{
|
||||
public class GoldPopup : UIBase
|
||||
{
|
||||
private void OnEnable()
|
||||
{
|
||||
Invoke(nameof(HidePopup), 3f);
|
||||
}
|
||||
|
||||
private void HidePopup()
|
||||
{
|
||||
UIManager.Hide<GoldPopup>(UIList.GoldPopup);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user