9 if (!item.IsInherited(BaseGameMode))
23 if (!editorSettings.GetBaseModes(modes))
26 super.ReadVariable(item, manager);
32 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
37 super.WriteVariable(item, var, manager, playerID);
48 editorSettings.SetBaseModes(
GetFlags(0));
51 protected override void CreatePresets()
59 SCR_SortedArray<SCR_EditorModePrefab> modePrefabs =
new SCR_SortedArray<SCR_EditorModePrefab>;
60 for (
int i, count = core.GetBaseModePrefabs(modePrefabs,
EEditorModeFlag.EDITABLE,
true); i < count; i++)
62 mode = modePrefabs[i];
64 value.SetWithUIInfo(mode.GetInfo(), mode.GetMode());