I need to make a textmesh's wordWrapWidth change depending on the width of something else.
I saw this from another post:
"The width parameter refers to the texture space width for the font. If your font is being displayed pixel perfect, it means the width is the number of pixels the where the line is wrapped at. The easiest way to size this is to physically move the widget in the interface. Otherwise, you will need to calculate the pixels you want to wrap at and enter that."
I guess I'm needing help with where I need to "calculate the pixels you want to wrap at". I know the world, screen and viewpoints of where I want to wrap at, but I don't know how to get those points in terms of the wordWrapWidth.
Thanks!