How Do You Make GUI Buttons Remain in the Same Place No Matter the Resolution?
Hello guys.
I am making a main menu and I have placed some buttons and a slider, although when I start the Unity project on another PC, the buttons go to completely different places. Is there a way I can make them stay in the same position no matter the resolution? If there is a code, would you please let me know where to place it too?
Thanks in Advance.
Yours Truly, Unity Newbie...
Answer by SarperS · Jun 23, 2016 at 04:41 AM
Are you talking about the new UI system or the GUI class? Either way, a simple google search brings tons of answers to this.
https://docs.unity3d.com/Manual/HOWTO-UIMultiResolution.html http://answers.unity3d.com/questions/150736/script-gui-units.html
I'm talking about the new UI System. I tried the canvas scaler, although im co$$anonymous$$g up with the same results, where when the screen is too small, it doesn't show.