MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / BuildAll

Function BuildAll

Source/Editor/Windows/GameCookerWindow.cs:946–960  ·  view source on GitHub ↗
(BuildPreset preset)

Source from the content-addressed store, hash-verified

944 /// </summary>
945 /// <param name="preset">The preset.</param>
946 public void BuildAll(BuildPreset preset)
947 {
948 if (preset == null)
949 throw new ArgumentNullException(nameof(preset));
950
951 Editor.Log("Building all targets");
952 foreach (var e in preset.Targets)
953 {
954 _buildingQueue.Enqueue(new QueueItem
955 {
956 PresetName = preset.Name,
957 Target = e.DeepClone(),
958 });
959 }
960 }
961
962 /// <summary>
963 /// Builds the target.

Callers 1

BuildAllTargetsFunction · 0.85

Calls 3

DeepCloneMethod · 0.80
LogMethod · 0.45
EnqueueMethod · 0.45

Tested by

no test coverage detected