private void SetDialogue(DialogueUI show, DialogueUI hide, string text) { show.ShowUI(); hide.HideUI(); show.Dialogue(text); typingState = TypingState.Typing; }