How can I add word wrap to the editor textarea? I'm trying to mimic the [TextArea] attribute (word wrap, automatically increase height when needed)
For some reason GUILayout.TextArea() works fine, but EditorGUILayout.TextArea() doesn't have any word wrap. Here's my code:
obj.edibleFlavorText = EditorGUILayout.TextArea(obj.edibleFlavorText, GUILayout.MinHeight(textAreaHeight));
I've tried:
Adding GUILayout.ExpandHeight(true) to its options
Adding GUI.skin.textArea.wordWrap = true to the start of my editor script