// Start is called before the first frame update void Start() { textBoxScript = (textBoxController)dialogueBox.GetComponent(typeof(textBoxController)); }
// Start is called before the first frame update protected virtual void Start() { textBoxScript = (textBoxController)dialogueBox.GetComponent(typeof(textBoxController)); userPrompt = player.transform.GetChild(0).gameObject.GetComponent(typeof(TextMeshProUGUI)) as TextMeshProUGUI; }