When you put text (content) into a GUI box or button, the text always appears at the top in the center. How do I alter my code to make the text appear lower down?
GUI.Box(new Rect(400,150,500,300), “Level Complete!”);
Do I put it somewhere after the string “”?
Thanks
Can you give me an example of this please. (Into my example).Thanks
– namekawThe Unity Documentation and Unity Scripting Reference links I provided have the examples. Do you understand what a Rect is, and what it means in the GUI command? Rect( startX, startY, widthX, heightY ) // Rectangle( start position X, start position Y, width along X, height along Y ) GUI.Box(new Rect(400,150,500,300), "Level Complete!"); GUI.Box(new Rect(10,10,150,35), "Level Complete!"); You should really take a look at : http://docs.unity3d.com/Documentation/Components/gui-Basics.html You probably want GUI.Label instead of GUI.Box
– AlucardJay