I have a Label with instructions which vary in length depending on the mode of the game.
Is there an easy way to find out how many lines a label consists of, and in that way find out the height of the Label?
/lars
I have a Label with instructions which vary in length depending on the mode of the game.
Is there an easy way to find out how many lines a label consists of, and in that way find out the height of the Label?
/lars
You can find the height of a GUI element’s text using GUIStyle.CalcHeight.
Great - just what I was looking for ![]()