Esempio n. 1
0
    public void StartDialogueBox(object sender, Dialogue myDialogue)
    {
        OnDialogueBoxStarts(this, EventArgs.Empty);
        m_PopUpMenuController.OpenMenu();
        dialogueBoxIsActive = true;
        ResizeDialogueBoxAccordingToTextSize(myDialogue.sentences);

        if (myDialogue != null)
        {
            myDialogueHandler = new DialogueHandler();
            myDialogueHandler.InitializeDialogue(myDialogue);
            NextSentence();
        }
    }