From 170d27a878bccfb3b33d2a59386a6ae1a30ba30a Mon Sep 17 00:00:00 2001 From: Ino Date: Mon, 12 Jan 2026 13:56:02 +0900 Subject: [PATCH] ... --- Assets/Script/UGUI/Common/GameUI.cs | 5 ++--- Assets/Script/UGUI/Lobby/LobbyMainUI.cs | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Assets/Script/UGUI/Common/GameUI.cs b/Assets/Script/UGUI/Common/GameUI.cs index e82808d..58cedc6 100644 --- a/Assets/Script/UGUI/Common/GameUI.cs +++ b/Assets/Script/UGUI/Common/GameUI.cs @@ -30,9 +30,8 @@ public class GameUI : MonoBehaviourSingletonTemplate DSUtil.InActivateGameObjects(gos, index); } - public void Set_UI(int on, int on2) + public void Set_OverUI(int index) { - gos[on].SetActive(true); - gos[on2].SetActive(true); + gos[index].SetActive(true); } } \ No newline at end of file diff --git a/Assets/Script/UGUI/Lobby/LobbyMainUI.cs b/Assets/Script/UGUI/Lobby/LobbyMainUI.cs index 48e09a8..2cadfbc 100644 --- a/Assets/Script/UGUI/Lobby/LobbyMainUI.cs +++ b/Assets/Script/UGUI/Lobby/LobbyMainUI.cs @@ -4,7 +4,7 @@ public class LobbyMainUI : MonoBehaviour { private void OnEnable() { - GameUI.Ins.Set_UI(2, 3); + GameUI.Ins.Set_OverUI(3); } public void OnClick_TutoSkip() @@ -14,7 +14,7 @@ public class LobbyMainUI : MonoBehaviour public void OnClick_Play() { - GameUI.Ins.Set_UI(2, 4); + GameUI.Ins.Set_OverUI(4); } public void OnClick_GoIngame()