diff --git a/Assets/RTLTMPro/Scripts/Editor/RTLTextMeshProEditor.cs b/Assets/RTLTMPro/Scripts/Editor/RTLTextMeshProEditor.cs index 7733b39..04d7d56 100644 --- a/Assets/RTLTMPro/Scripts/Editor/RTLTextMeshProEditor.cs +++ b/Assets/RTLTMPro/Scripts/Editor/RTLTextMeshProEditor.cs @@ -2,11 +2,12 @@ using UnityEditor; using UnityEngine; -#if TMP_VERSION_2_1_0_OR_NEWER -using TMP_UiEditorPanel = TMPro.EditorUtilities.TMP_EditorPanelUI; -#else -using TMP_UiEditorPanel = TMPro.EditorUtilities.TMP_UiEditorPanel; -#endif +// Creates issues in Unity 6 +//#if TMP_VERSION_2_1_0_OR_NEWER +//using TMP_UiEditorPanel = TMPro.EditorUtilities.TMP_EditorPanelUI; +//#else +//using TMP_UiEditorPanel = TMPro.EditorUtilities.TMP_UiEditorPanel; +//#endif namespace RTLTMPro { @@ -110,4 +111,4 @@ protected virtual void ListenForZeroWidthNoJoiner() Repaint(); } } -} \ No newline at end of file +}