Quantcast
Channel: Answers by "Graham-Dunnett"
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

$
0
0
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.

Viewing all articles
Browse latest Browse all 959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>