// add function to activate UI when data is given // add function to ddeactivate UI when data runs out public void ActivateDialogueScreen() { currentIndex = 0; uiGroup.gameObject.SetActive(true); textBox.text = currentDialogue.GetDialogueDataByIndex(currentIndex); }