I am places some error lines in mine code and I want them to either disable being able to start play testing if true or kick the player out of play testing after they start. I found Debug.Break(); but that only pauses the play test. Is this possible?
I imagine Destroy(player.gameObject); would do the trick. Or Application.LoadLevel(emptySceneName);
If it’s something they can do in game to cause it, could add: PlayerPrefs.SetInt("madAtYou",1);, and then test for it at game start?
But why would you want to offend your playtesters?