Quantcast
Channel: Answers for "How to calculate a TextMesh width without rendering it ?"
Browsing latest articles
Browse All 4 View Live

Answer by Anxo

Use the same method you are using now, but instead, when you create the text assign it (via script or by prefab settings) to a layer that is ignored by the camera. If you at some point wanted to show...

View Article



Answer by FabienD

I will answer myself, or kind of.. Thanks to the orientation from Owen Reynolds and Bunny83 I was able to establish the size factor linking the GUIContent and a TextMesh. It is safe to assume for a...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images