示例#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;
 }