IEnumerator Procedure() { Popup.Show("Starting Server"); yield return(new WaitForSeconds(1f)); try { Servers.Start(); } catch (Exception) { Popup.Show(PopupLabel.Colorize("Server Error", "red"), OnError, "Close"); throw; } Popup.Visible = false; Scenes.Load(Scenes.Level); }
public override void Show() { base.Show(); wave.text = PopupLabel.Colorize((Level.Spawner.WaveNumber - 1).ToString(), "red") + " Waves Survived"; }