From 5626b9de0d1a962376863a3264ec34ca603bbe9e Mon Sep 17 00:00:00 2001 From: "aube.lee" Date: Mon, 3 Mar 2025 16:53:41 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B0=80=EC=9D=B4=EB=93=9C=202?= =?UTF-8?q?=ED=9A=8C=20=EC=97=B4=EC=88=98=20=EC=97=86=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gameton-06/Assets/Gameton/Scripts/UI/GuideUI.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Gameton-06/Assets/Gameton/Scripts/UI/GuideUI.cs b/Gameton-06/Assets/Gameton/Scripts/UI/GuideUI.cs index 5940f46b..6cdd429b 100644 --- a/Gameton-06/Assets/Gameton/Scripts/UI/GuideUI.cs +++ b/Gameton-06/Assets/Gameton/Scripts/UI/GuideUI.cs @@ -6,6 +6,8 @@ namespace TON { public class GuideUI : UIBase { + public static GuideUI Instance => UIManager.Singleton.GetUI(UIList.GuideUI); + [SerializeField] private List guideList = new List(); private int index = 0; @@ -33,9 +35,10 @@ namespace TON public void HandleClickScreen() { - if (index == guideList.Count) + if (index == guideList.Count - 1) { UIManager.Hide(UIList.GuideUI); + return; }