Ejemplo n.º 1
0
 public void RecieveEndDialogue()
 {
     animator.SetBool("isOpen", false);    // Set isOpen false for the animator
     playerDialogueManager.CloseOptions(); // Call the same function for the player
 }
Ejemplo n.º 2
0
    public int reference;                     // Anwser ID reference

    public void OnPointerDown()               // Called when Clicked
    {
        playerDialogueManager.CloseOptions(); // Close the player Dialogue
        AIDialogue.RecieveAnswer(reference);  // Send the answer ID reference to the NPC AIDialogue Script
    }