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);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Gameton-06/Assets/Gameton/Scripts/UI/FishPopup.cs.meta
Normal file
11
Gameton-06/Assets/Gameton/Scripts/UI/FishPopup.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2e8e4ece5f5d84f43a51d6804fb38019
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
11
Gameton-06/Assets/Gameton/Scripts/UI/GoldPopup.cs.meta
Normal file
11
Gameton-06/Assets/Gameton/Scripts/UI/GoldPopup.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cb75d7fac0191214799180613a52c254
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user