void OnGUI() { if (LocalizationWindowUtility.ShouldShowWindow()) { if (!isInitialized) { Initialize(); } if (createListContextMenu == null || createListAdaptor == null || settingsContextMenu == null || settingsAdaptor == null || languageListAdaptor == null || languageListContextMenu == null) { InitializeCultureCollections(true); } undoManager.CheckUndo(); //Show settings ReorderableListGUI.Title("GGLocalization"); EditorGUILayout.Space(); ShowCreateAndSettingsActions(); ShowCreatedLanguages(); undoManager.CheckDirty(); } }