From 4e4bfc90534efbec8f4ca929b4c7bf2ea58f144d Mon Sep 17 00:00:00 2001 From: "aube.lee" Date: Sun, 16 Feb 2025 17:10:09 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20UI=20=EA=B5=AC=EC=A1=B0=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=EC=9C=BC=EB=A1=9C=20=EC=82=AC=EC=9A=A9=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Gameton/Scripts/Common/UIList.cs | 1 - .../Assets/Gameton/Scripts/UI/StageEntryUI.cs | 49 ------------------- .../Gameton/Scripts/UI/StageEntryUI.cs.meta | 11 ----- .../Scripts/UI/StageEntryUI_SlotItem.cs | 27 ---------- .../Scripts/UI/StageEntryUI_SlotItem.cs.meta | 11 ----- 5 files changed, 99 deletions(-) delete mode 100644 Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI.cs delete mode 100644 Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI.cs.meta delete mode 100644 Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI_SlotItem.cs delete mode 100644 Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI_SlotItem.cs.meta diff --git a/Gameton-06/Assets/Gameton/Scripts/Common/UIList.cs b/Gameton-06/Assets/Gameton/Scripts/Common/UIList.cs index 9a9cb583..4e5e0adb 100644 --- a/Gameton-06/Assets/Gameton/Scripts/Common/UIList.cs +++ b/Gameton-06/Assets/Gameton/Scripts/Common/UIList.cs @@ -25,7 +25,6 @@ namespace TON POPUP_START, LoadingUI, - StageEntryUI, GameOverUI, // 게임 오버 시 노출되는 UI diff --git a/Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI.cs b/Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI.cs deleted file mode 100644 index 228b8816..00000000 --- a/Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.UI; - -namespace TON -{ - public class StageEntryUI : UIBase - { - - [SerializeField] private Button playButton; // Play 버튼 참조 - - private int currentSelectStage; - - private void Start() - { - playButton.interactable = false; - } - - public void OnClickBackButton() - { - UIManager.Show(UIList.LobbyUI); - UIManager.Hide(UIList.StageEntryUI); - } - - public void OnClickStageButton(int stage) - { - currentSelectStage = stage; - if (currentSelectStage != 0) - { - playButton.interactable = true; - } - } - - public void OnClickPlayButton() - { - if (currentSelectStage == 0) - return; - - Debug.Log("OnClickPlayButton::::" + currentSelectStage); - } - - public void OnClickTest() - { - Debug.Log("OnClickTest::::"); - HeartDataManager.Singleton.UseHeart(); - } - } -} diff --git a/Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI.cs.meta b/Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI.cs.meta deleted file mode 100644 index 637a7e61..00000000 --- a/Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c9138cc62a0b4a347a46191cfb0fd7ef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI_SlotItem.cs b/Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI_SlotItem.cs deleted file mode 100644 index 73f0ba91..00000000 --- a/Gameton-06/Assets/Gameton/Scripts/UI/StageEntryUI_SlotItem.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.UI; - -namespace TON -{ - public class StageEntryUI_SlotItem : MonoBehaviour - { - [SerializeField] private int index; - private StageEntryUI stageEntryUI; - - private void Start() - { - // 상위 오브젝트에서 CharacterSelectUI 찾기 - stageEntryUI = FindObjectOfType(); - - // 버튼 클릭 이벤트 등록 - GetComponent