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