- Home /
Broken wrapping in Unity 5.0
Hello, guys.
In our game, when player point cursor on some objects, the text is appeared. It was done in Unity 4. with the script which is connected to an GameObject. The script has a public variable Text2show (string type), so developer can put text in Inspector, and inside uses OnMouseOver event. It was perfectly working, untill I upgraded to Unity 5.0, 'cause wrapping is now broken, and I don't know, how to do it now. It looks like Unity 5.0 deletes all line breaks in text in Inspector. All texts, that was made in Unity 4. is ok, but new one - not. And even if I copy paste the existing text from old object to new - it happens. Here is screenshots to make it more clear:
old text
new text
So, I can't understand, is it a bug of U5, or there is the other way, to put line breaks?