feat: 가이드 2회 열수 없는 문제 수정
This commit is contained in:
@@ -6,6 +6,8 @@ namespace TON
|
|||||||
{
|
{
|
||||||
public class GuideUI : UIBase
|
public class GuideUI : UIBase
|
||||||
{
|
{
|
||||||
|
public static GuideUI Instance => UIManager.Singleton.GetUI<GuideUI>(UIList.GuideUI);
|
||||||
|
|
||||||
[SerializeField] private List<GameObject> guideList = new List<GameObject>();
|
[SerializeField] private List<GameObject> guideList = new List<GameObject>();
|
||||||
private int index = 0;
|
private int index = 0;
|
||||||
|
|
||||||
@@ -33,9 +35,10 @@ namespace TON
|
|||||||
|
|
||||||
public void HandleClickScreen()
|
public void HandleClickScreen()
|
||||||
{
|
{
|
||||||
if (index == guideList.Count)
|
if (index == guideList.Count - 1)
|
||||||
{
|
{
|
||||||
UIManager.Hide<GuideUI>(UIList.GuideUI);
|
UIManager.Hide<GuideUI>(UIList.GuideUI);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user