Image is loading scaled really low

Attempting to create a nice looking startGame screen for my game and I’m running into the problem where my Image seems to be scaled down by a stupid ammount, I was told to draw images I needed to do it like this

			GUI.Box(new Rect((Screen.width / 2) - 200, 500, 188, 19), startGame);

The image deminsions are 188x19 so this should be doing it correctly, although it looks somewhere along the lines for 50x10

The problem is that GUI.Box will draw a box of 118 x 19, and this box would contain your image. As the box will be actually visible around your image, this means your image shown smaller than 118 x 19, as GUI.Box tries to fit your image in that box (while also preserving the aspect ratio). This makes it difficult to specify the actual size the image will have on screen.

If you’d only want to draw the image (without box), you can use the following line of code:

GUI.DrawTexture(new Rect((Screen.width / 2) - 200, 500, 188, 19), startGame);

If you’d still want to see the box around the image, I recommend drawing the image on top of an empty box, so you’ll be able to specify the exact size of your image. For instance like this:

GUI.Box(new Rect((Screen.width / 2) - 210, 490, 208 , 39), "");
GUI.DrawTexture(new Rect((Screen.width / 2) - 200, 500, 188, 19), startGame);