DEG-166 [ADD] 다이렉트 대화 시작 추가
This commit is contained in:
parent
c0e6264355
commit
76799a9476
@ -28,7 +28,7 @@ public class InteractionController : MonoBehaviour
|
||||
{
|
||||
housingCanvasController.ShowNpcInteractionButton(() =>
|
||||
{
|
||||
GameManager.Instance.StartNPCDialogue(GamePhase.Gameplay);
|
||||
GameManager.Instance.DirectStartDialogue();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -57,6 +57,12 @@ public partial class GameManager : Singleton<GameManager>
|
||||
chatWindowController.SetGamePhase(phase);
|
||||
}
|
||||
|
||||
public void DirectStartDialogue()
|
||||
{
|
||||
if (chatWindowController == null) chatWindowController = FindObjectOfType<ChatWindowController>();
|
||||
chatWindowController.SetGamePhase(GamePhase.Gameplay);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
//일시 정지
|
||||
|
Loading…
x
Reference in New Issue
Block a user