Пример #1
0
    //Function for testing button callback
    public void TestDialogue()
    {
        dialoguePanel.SetActive(true);
        int RN = Random.Range(0, 10);

        dialoguePanelScript.StartDialogue(dialogueName, testDialogueArray);
    }
Пример #2
0
 public void Interact()
 {
     DialoguePanel.StartDialogue(dialogueName, talked ? "repeat" : "");
     talked = true;
 }