DEG-166 [ADD] 다이렉트 대화 시작 추가

This commit is contained in:
Sehyeon 2025-05-14 14:34:15 +09:00
parent c0e6264355
commit 76799a9476
2 changed files with 7 additions and 1 deletions

View File

@ -28,7 +28,7 @@ public class InteractionController : MonoBehaviour
{ {
housingCanvasController.ShowNpcInteractionButton(() => housingCanvasController.ShowNpcInteractionButton(() =>
{ {
GameManager.Instance.StartNPCDialogue(GamePhase.Gameplay); GameManager.Instance.DirectStartDialogue();
}); });
} }

View File

@ -57,6 +57,12 @@ public partial class GameManager : Singleton<GameManager>
chatWindowController.SetGamePhase(phase); chatWindowController.SetGamePhase(phase);
} }
public void DirectStartDialogue()
{
if (chatWindowController == null) chatWindowController = FindObjectOfType<ChatWindowController>();
chatWindowController.SetGamePhase(GamePhase.Gameplay);
}
#endregion #endregion
//일시 정지 //일시 정지