public void Load() { if (textbox.text.Equals("")) { wec.PlayLevel(); } else if (!filenames.Contains(textbox.text)) { Debug.Log("invalid filename"); } else { wec.PlaySpecificLevel(textbox.text); } }
public void Play() { wec.PlaySpecificLevel(pickedFilename); }