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