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

Function GatherData

Source/Editor/Windows/GameCookerWindow.cs:1250–1266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1248 /// Load the build presets from the settings.
1249 /// </summary>
1250 private void GatherData()
1251 {
1252 _data = null;
1253
1254 var settings = GameSettings.Load<BuildSettings>();
1255 if (settings.Presets != null)
1256 {
1257 _data = new BuildPreset[settings.Presets.Length];
1258 for (int i = 0; i < _data.Length; i++)
1259 {
1260 _data[i] = settings.Presets[i].DeepClone();
1261 }
1262 }
1263
1264 ClearDirtyFlag();
1265 SelectTarget(0, 0);
1266 }
1267
1268 /// <summary>
1269 /// Saves the build presets to the settings.

Callers 4

OnInitFunction · 0.85
SaveDataMethod · 0.85
OnInitMethod · 0.85
OnShowMethod · 0.85

Calls 3

ClearDirtyFlagFunction · 0.85
SelectTargetFunction · 0.85
DeepCloneMethod · 0.80

Tested by

no test coverage detected