Search code examples
c#androidunity-game-enginescreen-resolution

How to adjust the screen for many types of screens in Android using Unity 3.5x?


I have a project and I want to build it for Android. I want to know, how to adjust the screen so I can play it well in many types of Android's phones? (Since there are so many type of screens for Android). I already tried many ways to do it, include the one in this thread : http://answers.unity3d.com/questions/161281/is-there-a-way-to-android-physical-screen-size.html, and using Screen.height and Screen.widht, but I can't do it. By the way, I'm using C#. Do anyone have some solutions? Thank you.


Solution

  • I already solved the problem with made a new class and scaling the panel which I put the background (so each of the gameobject will be scaling as well).