private ScriptEditor_AttemptToEditScript ( bool &allowEdit ) : void | ||
allowEdit | bool | |
return | void |
private void ScriptEditor_AttemptToEditScript(ref bool allowEdit)
{
if (_testGameInProgress)
{
_guiController.ShowMessage("You cannot edit scripts while the game is being tested. Close the game first.", MessageBoxIcon.Warning);
allowEdit = false;
}
}