using QSB.Events; using UnityEngine; namespace QSB.ConversationSync { public class ConversationManager : MonoBehaviour { public static ConversationManager Instance { get; private set; } void Start() { Instance = this; } public void SendPlayerOption(string text) { GlobalMessenger.FireEvent(EventNames.QSBConversation, -1, text, ConversationType.PLAYER); } public void SendCharacterDialogue(int id, string text) { GlobalMessenger.FireEvent(EventNames.QSBConversation, id, text, ConversationType.CHARACTER); } } }