Quantcast
Viewing all articles
Browse latest Browse all 4

Answer by Bunny83

Well, this is a very special case which can't be solved that easy i think. You might be able to use [GUIStyle.GetCursorStringIndex][1] to detemine the character index where it would wraparound and use that information to insert a newline there. [1]: http://docs.unity3d.com/ScriptReference/GUIStyle.GetCursorStringIndex.html

Viewing all articles
Browse latest Browse all 4

Trending Articles