feat: 가이드 2회 열수 없는 문제 수정

This commit is contained in:
aube.lee
2025-03-03 16:53:41 +09:00
parent f58a4a8c31
commit 5626b9de0d

View File

@@ -6,6 +6,8 @@ namespace TON
{
public class GuideUI : UIBase
{
public static GuideUI Instance => UIManager.Singleton.GetUI<GuideUI>(UIList.GuideUI);
[SerializeField] private List<GameObject> guideList = new List<GameObject>();
private int index = 0;
@@ -33,9 +35,10 @@ namespace TON
public void HandleClickScreen()
{
if (index == guideList.Count)
if (index == guideList.Count - 1)
{
UIManager.Hide<GuideUI>(UIList.GuideUI);
return;
}