/// <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(); } } }
/// <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); } } }
/// <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); } } }
public virtual void Build() { GameCooker.Build(BuildPlatform, Options, Output, Defines); }
public virtual void Build() { var output = StringUtils.ConvertRelativePathToAbsolute(Globals.ProjectFolder, StringUtils.NormalizePath(Output)); GameCooker.Build(BuildPlatform, ConfigurationMode, output, Options); }
public virtual void Build() { GameCooker.Build(BuildPlatform, ConfigurationMode, Output, Options, Defines); }