public void ReloadScript(string targetfile) { EnableTextBox(); waitforinput = true; textLines = LoadManager.GetArray(targetfile); Debug.Log(textLines); currentLine = 0; endAtLine = textLines.Length - 2; }