AGS.Editor.Components.BuildCommandsComponent._agsEditor_AttemptToSaveGame C# (CSharp) Méthode

_agsEditor_AttemptToSaveGame() private méthode

private _agsEditor_AttemptToSaveGame ( bool &allowSave ) : void
allowSave bool
Résultat void
        private void _agsEditor_AttemptToSaveGame(ref bool allowSave)
        {
            if (_testGameInProgress)
            {
                _guiController.ShowMessage("You cannot save your changes while the game is being tested. Close the game first.", MessageBoxIcon.Warning);
                allowSave = false;
            }
        }