public void lineShow(DialogueLine line) { line.onShow.execute(); string t = line.Text(Data); textShow(t); if (line.TopicsVisible) { topicListShow(_npc); TopicListTransform.gameObject.SetActive(true); } else { TopicListTransform.gameObject.SetActive(false); } if (line.LeaveEnabled) { FinishButton.SetActive(true); } else { FinishButton.SetActive(false); } optionListShow(line.Options.Values); }