예제 #1
0
        /// <inheritdoc />
        public override void OnUpdate()
        {
            // Building queue
            if (!GameCooker.IsRunning)
            {
                if (_buildingQueue.Count > 0)
                {
                    var target = _buildingQueue.Dequeue();

                    _preBuildAction  = target.PreBuildAction;
                    _postBuildAction = target.PostBuildAction;

                    GameCooker.Build(target.Platform, target.Options, target.Output, target.Defines);
                }
                else if (_exitOnBuildEnd)
                {
                    _exitOnBuildEnd = false;
                    Application.Exit();
                }
            }
        }
예제 #2
0
        /// <inheritdoc />
        public override void OnUpdate()
        {
            // Building queue
            if (!GameCooker.IsRunning)
            {
                if (_buildingQueue.Count > 0)
                {
                    var target = _buildingQueue.Dequeue();

                    _preBuildAction  = target.PreBuildAction;
                    _postBuildAction = target.PostBuildAction;

                    GameCooker.Build(target.Platform, target.Mode, target.Output, target.Options);
                }
                else if (_exitOnBuildEnd)
                {
                    _exitOnBuildEnd = false;
                    Engine.RequestExit(_lastBuildFailed ? 1 : 0);
                }
            }
        }
예제 #3
0
        /// <inheritdoc />
        public override void OnUpdate()
        {
            // Building queue
            if (!GameCooker.IsRunning)
            {
                if (_buildingQueue.Count > 0)
                {
                    var item   = _buildingQueue.Dequeue();
                    var target = item.Target;

                    _preBuildAction  = target.PreBuildAction;
                    _postBuildAction = target.PostBuildAction;

                    GameCooker.Build(target.Platform, target.Mode, target.Output, BuildOptions.None, target.CustomDefines, item.PresetName, target.Name);
                }
                else if (_exitOnBuildEnd)
                {
                    _exitOnBuildEnd = false;
                    Engine.RequestExit(_lastBuildFailed ? 1 : 0);
                }
            }
        }
예제 #4
0
 public virtual void Build()
 {
     GameCooker.Build(BuildPlatform, Options, Output, Defines);
 }
예제 #5
0
                public virtual void Build()
                {
                    var output = StringUtils.ConvertRelativePathToAbsolute(Globals.ProjectFolder, StringUtils.NormalizePath(Output));

                    GameCooker.Build(BuildPlatform, ConfigurationMode, output, Options);
                }
예제 #6
0
 public virtual void Build()
 {
     GameCooker.Build(BuildPlatform, ConfigurationMode, Output, Options, Defines);
 }