- Home /
Question by
annonymushubh · Jul 29, 2017 at 08:00 AM ·
androidunity 5resolutionscreenrun
how i set the screen resolution for my game to run perfect for every device
i want to configure screen size. to run my game for every device of android because my application rum right on the mobile but when i run in my tablet the application is start lagging
Comment
Answer by adrienPlayerium · Jul 29, 2017 at 02:02 PM
Screen.SetResolution(w,h);
But if you want to have your UI screen independant you got to use anchors or set your canvas scaler
Your answer
![](https://koobas.hobune.stream/wayback/20220612131439im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Excluding android devices with resolution less than X 0 Answers
Game fills only one quarter of the screen, why? (Android) 1 Answer
Unity 2D autoScale the sprite objects in worldspace according to resolution? 0 Answers
[Android] Screen Scaling?! 0 Answers
How to scale my camera to fit all android and iOS screen sizes 1 Answer