Another way is to set the alignment to "Upper Center" in the GUIStyle. Set your label to be anchored to the x=0 and height you want, then make sure your label width is set to the screen width. Eg
GUI.Label (Rect (0, Screen.height/2-25, Screen.width, 50), "BLAH", myStyle);
This works with dynamic text.
↧