feat: 가이드 2회 열수 없는 문제 수정
This commit is contained in:
1 parent
f58a4a8c31
commit
5626b9de0d
1 file changed
+4
-1
@@ -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