- Home /
How to make unity game auto adjustable according to the device size ?
I am new to Unity i have done a small game example in Unity and i want to make it auto adjustable according to any screen size in which i will deploy the game.
Is there any way that we can make unity games auto customizable. I have developed the game in laptop and want to test in Iphone and Lg optimus l9.
Answer by smalldragon979 · Jul 29, 2013 at 11:09 AM
Unity allows you to get the screen size of the current device using Screen.height and Screen.width, you can then use those values to adjust the position and size of the different elements in the game in different resolutions.
Your answer

Follow this Question
Related Questions
GUI Styles for iPhone/Android - font/button sizing? 3 Answers
Zero-ing the Input.acceleration.z 0 Answers
Best way to create/design modular Player 2 Answers
Addictive Games (not the website) 3 Answers
Unified cross-platform project? 1 Answer