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 //일시 정지