public override void OnInspectorGUI() { // Make sure Multi selection only includes TMP Text objects. if (IsMixSelectionTypes()) { return; } serializedObject.Update(); DrawTextInput(); DrawMainSettings(); DrawExtraSettings(); EditorGUILayout.Space(); if (m_HavePropertiesChanged) { m_HavePropertiesChanged = false; m_TextComponent.havePropertiesChanged = true; m_TextComponent.ComputeMarginSize(); EditorUtility.SetDirty(target); } serializedObject.ApplyModifiedProperties(); }