using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DialogueTrigger : MonoBehaviour{
public Dialogue dialogue;
/// Start the dialogue specified on the inspector
public void TriggerDialogue(){
FindObjectOfType().StartDialogue(dialogue);
}
}