docs: 불필요한 UI 및 스크립트 제거

This commit is contained in:
aube.lee
2025-03-02 17:25:37 +09:00
parent 5750735cc5
commit d1341a0980
6 changed files with 3 additions and 1278 deletions

View File

@@ -24,8 +24,7 @@ namespace TON
POPUP_START,
LoadingUI,
GameOverUI, // 게임 오버 시 노출되는 UI
GameWinUI, // 게임 클리어 시 노출되는 UI
GameWinUI, // 게임 오버 및 클리어 시 노출되는 UI
PauseUI, // 일시중지 버튼 선택 시 노출되는 UI
GoldPopup,

View File

@@ -24,7 +24,8 @@ namespace TON
private void ShowGameOverUI()
{
UIManager.Show<GameoverUI>(UIList.GameOverUI);
// 게임 오버 UI 조건 삭제로 해당 코드 주석처리함
// UIManager.Show<GameoverUI>(UIList.GameOverUI);
}
}

View File

@@ -1,59 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace TON
{
public class GameoverUI : UIBase
{
public static GameoverUI Instance => UIManager.Singleton.GetUI<GameoverUI>(UIList.GameOverUI);
public GameObject rechargeModal;
private void OnEnable()
{
rechargeModal.SetActive(false);
}
public void OnClickHomeButton()
{
Main.Singleton.ChangeScene(SceneType.Lobby);
}
public void OnClickRetryButton()
{
// 가지고 있는 하트가 없다면 입장 불가
if (HeartDataManager.Singleton.GetCurrentHearts() < 1)
{
// 하트 충전 modal 출력
rechargeModal.SetActive(true);
return;
}
// 입장 시 하트 소모
HeartDataManager.Singleton.UseHeart();
Main.Singleton.ChangeScene(SceneType.Stage);
}
public void OnClickCloseButton()
{
rechargeModal.SetActive(false);
}
public void OnClickUseCashButton(int count)
{
// TODO: 보유한 생선 갯수를 소모하고 하트를 충전
Debug.Log("OnClickUseCashButton::: fish :: " + count);
}
public void OnClickAdButton()
{
// TODO: 광고 시청 로직 추가, 광고 종료 후 하트 충전
Debug.Log("OnClickAdButton::: ");
}
}
}

View File

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