Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: gk on November 19, 2014, 10:49:50 PM
-
Is there any way i get the number of characters that can be fit in label.
-
NGUIText.CalculatePrintedSize or NGUIText.WrapText. Nothing will tell you the number of characters, but WrapText will return all lines split by \n, so you can just do string.IndexOf('\n').