feat: 골드 생선 부족 시 경고 팝업 추가

This commit is contained in:
aube.lee
2025-02-28 10:12:45 +09:00
parent e3ffb10da5
commit c00cbc44aa
10 changed files with 739 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ namespace TON
GameWinUI, // 게임 클리어 시 노출되는 UI
PauseUI, // 일시중지 버튼 선택 시 노출되는 UI
GoldPopup,
FishPopup,
POPUP_END,
}

View 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);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2e8e4ece5f5d84f43a51d6804fb38019
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: cb75d7fac0191214799180613a52c254
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: