- Home /
Text Mesh Pro detect automatic word wrap line break in script
Hi there,
in Text Mesh Pro line breaking works automatically, wich is great! When a string is to long for a text box a line break is created. My question is this: Is there a way to know in script wheather this occured or not? Or respectively how many lines a string takes up in a given text box?
This would really help, thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612233838im_/https://answers.unity.com/themes/thub/images/avi.jpg)