//Function for testing button callback public void TestDialogue() { dialoguePanel.SetActive(true); int RN = Random.Range(0, 10); dialoguePanelScript.StartDialogue(dialogueName, testDialogueArray); }
public void Interact() { DialoguePanel.StartDialogue(dialogueName, talked ? "repeat" : ""); talked = true; }