|
I have a custom inspector with a TextArea field, but it does not wrap, which is a real pain to work with. I've tried changing the skin settings, but no luck. I'm trying to do the following during OnInspectorGUI, but to no avail:
I've also tried:
But no luck either. Any suggestions?
(comments are locked)
|
|
As yoyo suggested, setting the attribute on EditorGUI.textArea fixes the problem. I add the following line of code and it works:
(comments are locked)
|

If you're using EditorGUI.TextArea then the dos indidate that you'll want to modify EditorStyle.textField, not GUI.skin.textArea.
http://unity3d.com/support/documentation/ScriptReference/EditorGUI.TextArea.html