public override void OnInspectorGUI()
    {
        if (editorType == EditorType.SINGLE_ASSET)
        {
            localizedText.isExpandedGlobal = true;
        }

        // Update the state of the serializedObject to the current values of the target.
        serializedObject.Update();

        // Global GUI Box
        GUILayout.BeginVertical(GUI.skin.box);

        EditorColors.SET_SUBTITLE2_COLOR();
        GUILayout.BeginHorizontal(GUI.skin.box);
        GUILayout.BeginHorizontal(EditorStyles.inspectorDefaultMargins);

        GUIStyle myFoldoutStyle = new GUIStyle(EditorStyles.foldout);

        myFoldoutStyle.fontStyle    = FontStyle.Bold;
        myFoldoutStyle.fontSize     = 11;
        myFoldoutStyle.fixedHeight  = 16f;
        myFoldoutStyle.stretchWidth = true;

        // Global Foldout
        localizedText.isExpandedGlobal = EditorGUILayout.Foldout(localizedText.isExpandedGlobal, new GUIContent(localizedText.name), true, myFoldoutStyle);

        // Show remove button only in case that this LocalizedText belongs to one LocalizedTextsGroup
        if (editorType == EditorType.ALL_ASSETS)
        {
            // Display a button showing a '-' that if clicked removes this item from the group.
            if (EditorTools.createListButton(" - ", true))
            {
                removeLocalizedText();
                return;
            }
        }

        GUILayout.EndHorizontal();
        GUILayout.EndHorizontal();
        EditorColors.SET_DEFAULT_COLOR();

        if (localizedText.isExpandedGlobal)
        {
            expandedGUI();
        }

        GUILayout.EndVertical();

        // Push data back from the serializedObject to the target.
        serializedObject.ApplyModifiedProperties();
    }