AGS.Editor.AGSEditor.NeedsRebuildForDebugMode C# (CSharp) Method

NeedsRebuildForDebugMode() public method

public NeedsRebuildForDebugMode ( ) : bool
return bool
        public bool NeedsRebuildForDebugMode()
        {
            bool result;
            BuildConfiguration pending;

            pending = this._game.Settings.DebugMode ? BuildConfiguration.Debug : BuildConfiguration.Release;
            if (this._game.WorkspaceState.LastBuildConfiguration != pending)
            {
                result = true;
                this._game.WorkspaceState.LastBuildConfiguration = pending;
            }
            else
                result = false;

            return result;
        }