Exemple #1
0
    protected void CheckPlayerInput()
    {
        if (!InputManager.Get_KeyE)
        {
            return;
        }

        playerData.IsInConversation = true;
        CursorLockState.ToggleCursorLockState(CursorLockMode.None);
        ui.ToggleInteractionText("");
        npcShowDialogueText.showMessage(0);
    }
    protected void CheckPlayerInput()
    {
        if (!InputManager.Get_KeyE)
        {
            return;
        }

        isInConversation = true;

        ui.ToggleInteractionText("");
        ui.ToggleDialogueWindow(true);
        npcShowDialogueText.showMessage(0);
    }