private void ShowTestTranslationsButtons() { DrawSpace(1); EditorGUILayout.LabelField("Changing language", EditorStyles.boldLabel); var popupStyle = GUI.skin.GetStyle("Popup"); popupStyle.fontSize = 11; EditorGUILayout.BeginHorizontal(); selectedLanguageIndex = EditorGUILayout.Popup(selectedLanguageIndex, cashLanguages, popupStyle); if (GUILayout.Button("Set selected language")) { Localizator.ChangeLanguage(selectedLanguageIndex); } EditorGUILayout.EndHorizontal(); DrawSpace(1); EditorGUILayout.BeginHorizontal(); if (GUILayout.Button("Set next language")) { Localizator.ChangeLanguage(); } if (GUILayout.Button("Set default language")) { Localizator.SetDefaultLanguage(); } EditorGUILayout.EndHorizontal(); }