- Home /
How to make GUI Button a fixed size?
So I'm making a mobile game and in the game there is a GUI.Button script. The problem is when I build the game and use it in my phone, the button becomes tiny, but it is perfectly normal while in the editor.
My question is how I can make the button stay the same size no matter what resolution screen the button is on.
Answer by Fattie · Dec 23, 2015 at 08:22 PM
You cannot use the old Unity gui anymore and it is not possible to do what you ask.
Fortunately it is incredibly easy to use the new UI.
1, click "add canvas" 2, click "add button", you're done
there are 1000s QA about it on here and 100s of full tutorials
Enjoy
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How to go to a new gui.window by clicking a gui.button? 1 Answer
How do I make an updatable newsletter? 0 Answers
Hold Down GUIButton? 1 Answer
Static variable work in one script but not in the other 1 Answer