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

Function CreatePresetsTab

Source/Editor/Windows/GameCookerWindow.cs:1183–1199  ·  view source on GitHub ↗
(Tabs sections)

Source from the content-addressed store, hash-verified

1181 }
1182
1183 private void CreatePresetsTab(Tabs sections)
1184 {
1185 var tab = sections.AddTab(new Tab("Presets"));
1186
1187 _presets = new PresetsColumn(tab, this);
1188 _targets = new TargetsColumn(tab, this);
1189 var panel = new Panel(ScrollBars.Vertical)
1190 {
1191 AnchorPreset = AnchorPresets.StretchAll,
1192 Offsets = new Margin(140 * 2, 0, 0, 0),
1193 Parent = tab
1194 };
1195
1196 _targetSettings = new CustomEditorPresenter(null);
1197 _targetSettings.Panel.Parent = panel;
1198 _targetSettings.Modified += MarkAsEdited;
1199 }
1200
1201 private void MarkAsEdited()
1202 {

Callers 1

Calls 1

AddTabMethod · 0.45

Tested by

no test coverage detected