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 PlayNow() { wec.PlayLevel(); }
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 PlayNow() { wec.PlayLevel(); }