So I have a GUI box and I want scale the whole think up including font size. This is the line of code for the GUI box
GUI.Box(Rect(Screen.width / 2, Screen.height / 2, 200, 25), "Press 'E' to Purchase (50 Kills)");
So I have a GUI box and I want scale the whole think up including font size. This is the line of code for the GUI box
GUI.Box(Rect(Screen.width / 2, Screen.height / 2, 200, 25), "Press 'E' to Purchase (50 Kills)");
Not sure what you’re coding in but here’s a basic box that I use:
// Draws a box of the size of the screen.
function OnGUI() {
GUI.Box(Rect(0,0,Screen.width,Screen.height),“This is a title”);
}
Yeah I took that straight from the Scripting API. Tbh I prefer looking there first before asking, usually they say it better Play around with the numbers and it’ll get bigger.