TTTN1997 1 년 전
부모
커밋
87246438f8
1개의 변경된 파일11개의 추가작업 그리고 5개의 파일을 삭제
  1. 11 5
      Assets/Scripts/Mono/UI/Panel/InputPanel.cs

+ 11 - 5
Assets/Scripts/Mono/UI/Panel/InputPanel.cs

@@ -59,11 +59,10 @@ namespace Mono
                 UIManager.Instance.PlayAudioClip("UI_ButtonClick");
                 
                 
-                ShowTextPanel showTextPanel = UIManager.Instance.LoadAndOpenPanel<ShowTextPanel>(UIManager.UILayer.Middle);
-                showTextPanel.ShowText(3);
+
                 
-                UIManager.Instance.HideUIPanel<InputPanel>();
-                // UIManager.Instance.LoadAndOpenPanel<MainScenePanel>(UIManager.UILayer.Middle);
+                UIManager.Instance.HideUIPanel<InputPanel>(); 
+                UIManager.Instance.LoadAndOpenPanel<MainScenePanel>(UIManager.UILayer.Middle);
                 
                 Destroy(Map);
                 Destroy(Npc);
@@ -109,7 +108,14 @@ namespace Mono
             Btn_Retrun.gameObject.SetActive(true);
             Mask.gameObject.SetActive(true);
             
-       
+            
+            TimeComponent.Instance.AddTimer(12f, () =>
+            {
+                ShowTextPanel showTextPanel = UIManager.Instance.LoadAndOpenPanel<ShowTextPanel>(UIManager.UILayer.Middle);
+                showTextPanel.ShowText(3);
+            });
+            
+         
            
            
             Player.Instance = null;