protected void OpenStandartBack(Color?color = null, bool includeLogo = true, bool includeScript = true, bool includeEditor = true) { EditorGUILayout.Space(); if (color == null) { SpiralEditor.BeginPanel(GroupType.Vertical); } else { SpiralEditor.BeginPanel(GroupType.Vertical, (Color)color); } if (includeLogo) { SpiralEditor.DrawLogoLine(); } if (includeScript) { SpiralEditor.DrawScriptField(serializedObject, true); } if (includeEditor) { MonoScript editorMono = GetEditorMono(); if (editorMono != null) { SpiralEditor.DrawScriptField(editorMono, "Editor"); } } }
protected void OpenStandartBack(Color?color = null, bool includeLogo = true, bool includeScript = true) { EditorGUILayout.Space(); if (color == null) { SpiralEditor.BeginPanel(GroupType.Vertical); } else { SpiralEditor.BeginPanel(GroupType.Vertical, (Color)color); } if (includeLogo) { SpiralEditor.DrawLogoLine(); } if (includeScript) { SpiralEditor.DrawScriptField(monoScript, "Editor"); } }
public static void DrawLanguageSelect() { SpiralEditor.BeginPanel(GroupType.Vertical); language = (Language)EditorGUILayout.EnumPopup(strLocal, language); SpiralEditor.EndPanel(); }