From 756e26fccc3ee972d39bd7b75b1a8cb177b43162 Mon Sep 17 00:00:00 2001 From: Ino Date: Mon, 12 Jan 2026 13:54:32 +0900 Subject: [PATCH] ... --- Assets/Script/UGUI/Common/GameUI.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Assets/Script/UGUI/Common/GameUI.cs b/Assets/Script/UGUI/Common/GameUI.cs index 490b6ec..e82808d 100644 --- a/Assets/Script/UGUI/Common/GameUI.cs +++ b/Assets/Script/UGUI/Common/GameUI.cs @@ -30,10 +30,9 @@ public class GameUI : MonoBehaviourSingletonTemplate DSUtil.InActivateGameObjects(gos, index); } - public void Set_UI(params int[] index) + public void Set_UI(int on, int on2) { - DSUtil.InActivateGameObjects(gos); - for (int i = 0; i < index.Length; i++) - gos[index[i]].SetActive(true); + gos[on].SetActive(true); + gos[on2].SetActive(true); } } \ No newline at end of file