What dimensions for a GUI texture 2D main menu?

So, i’m recenlty learning about GUI texture, i made this image in Gimp and i want to use several images to build the main menu, the main problem is that i do not know the specific dimension of the game itself, and since is a specific dimension, wouldn’t the image be smaller than the screen if people play in fullscreen?

What is the dimension for a full-size 2D menu?

1 Answer

1

You mean screen resolution? Screen.width and Screen.height
You mean Texture2D resolution? texture.width and texture.height
You want to have a GUI object fill the entire screen? Rect(0, 0, Screen.width, Screen.height)

Please be more precise when asking questions, so that you will get a better answer :slight_smile:

Benproductions1

My lack of precision comes from my lack of english knowledge, i'm sorry about that, Anyway, yes, i want this GUI image to fill the entire screen (Regardless of the resolution)

therefore, as stated in the answer, the dimension of the GUI object is: Rect(0, 0, Screen.width, Screen.height)