Example #1
0
    public void ShowDialogueUI(string name, int number)
    {
        LoadFile(name, number);
        uiManager.TurnOnOffDialogueUI(true);

        // BLOCK GAMEPLAY BY STATE MANAGER
        stateMng.SetState(EStates.DIALOGUE);

        // CALL UI
        uiManager.ShowDialogueUI(dialogueLines.dialogue[0]);

        isTalking = true;
    }