From 76799a9476ed94b432ea01a383f929f71a01c614 Mon Sep 17 00:00:00 2001 From: Sehyeon Date: Wed, 14 May 2025 14:34:15 +0900 Subject: [PATCH] =?UTF-8?q?DEG-166=20[ADD]=20=EB=8B=A4=EC=9D=B4=EB=A0=89?= =?UTF-8?q?=ED=8A=B8=20=EB=8C=80=ED=99=94=20=EC=8B=9C=EC=9E=91=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/LIN/Scripts/DailyRoutine/InteractionController.cs | 2 +- Assets/Scripts/Common/GameManager.cs | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Assets/LIN/Scripts/DailyRoutine/InteractionController.cs b/Assets/LIN/Scripts/DailyRoutine/InteractionController.cs index 28ec589e..951ad303 100644 --- a/Assets/LIN/Scripts/DailyRoutine/InteractionController.cs +++ b/Assets/LIN/Scripts/DailyRoutine/InteractionController.cs @@ -28,7 +28,7 @@ public class InteractionController : MonoBehaviour { housingCanvasController.ShowNpcInteractionButton(() => { - GameManager.Instance.StartNPCDialogue(GamePhase.Gameplay); + GameManager.Instance.DirectStartDialogue(); }); } diff --git a/Assets/Scripts/Common/GameManager.cs b/Assets/Scripts/Common/GameManager.cs index 9cd6e33f..b9f8f710 100644 --- a/Assets/Scripts/Common/GameManager.cs +++ b/Assets/Scripts/Common/GameManager.cs @@ -57,6 +57,12 @@ public partial class GameManager : Singleton chatWindowController.SetGamePhase(phase); } + public void DirectStartDialogue() + { + if (chatWindowController == null) chatWindowController = FindObjectOfType(); + chatWindowController.SetGamePhase(GamePhase.Gameplay); + } + #endregion //일시 정지