public void ShowDialog(string textID) { showing = true; dialogTexts = dialogSystem.GetDialogById(textID);//arrayOfParameter[0]); uiText.text = dialogTexts[0]; currText = 0; }