just wanting to know how my gui will be scaled if it was on say a s3 compared to a s5. i have looked for the answer but their all from 2011 <, my gui uses this GUILayout.BeginArea(Rect(Screen.width/2, Screen.height/2, player1.width, player1.height));
thanks
You are responsible for scaling your GUI to fit the screen it is running on. Changing font size doesn’t cause Unity to change the size of the rectangles you pass into GUI calls. In your questions, you’re doing the right thing looking at the Screen
width
and height
, but the size of the rectangle depends only on player1
. It’s not obvious that those values relate the the screen size.