About 144,000 results
Open links in new tab
  1. Manual: Android Player settings - Unity

    Resolution Scaling Mode controls how Unity scales the contents. The application uses a standard, non-full-screen, movable window. The size of the window depends on the application’s …

  2. How to get device native screen resolution? - Unity Discussions

    Aug 31, 2017 · I’m changing my game resolution using Screen.SetResolution. Testing it in my Android device: Screen.height, Screen.currentResolution, Display.systemHeight and …

  3. android - Set Display resolution limit in unity - Stack Overflow

    Jan 2, 2017 · Detection of screen resolution is easy. You can use Screen.width and Screen.height for it. I know Screen class has a method SetResolution and this might do a thing for you …

  4. unity - Is there a way to get native resolution of device window ...

    Dec 3, 2016 · Screen.currentResolution, Screen.width, Screen.height reports back the new resolution 1920x1080. Screen.resolutions gave me empty array (tested on real android …

  5. How do I set an Android applications resolution? - Unity

    Mar 18, 2011 · You can set the resolution of your application by calling Screen.SetResolution which is documented here: If you add this to a scripts start function and attach it to the Main …

  6. How can I code my game to work on every resolution of Android

    Jul 25, 2013 · I have a game what I made in 480x320 resolution (I have set it in the build settings) in Unity. But I would like to publish my game for every Android device with every resolution. …

  7. Manual: Player settings for the Android platform - Unity

    Allows you to set the scaling to be equal to or below the native screen resolution. Allows you to scale the device’s screen resolution below its native resolution and show the Target DPI …

  8. Ui Canvas Resolution for phone and tablet - Unity Discussions

    Dec 24, 2022 · For Example, On Landscape Devices, it is common to have 1080p HD Resolution (which is 1920 x 1080 pixels). On phones, Portrait 1080p HD (which is 1080 x 1920 pixels). …

  9. Unity android resolution - Stack Overflow

    Oct 12, 2015 · you can use scale with screen size to fit your UI and make sure your UI need to set the Rect Transform of your UI like button, text , etc... and if you use scale with screen size in …

  10. unity - Unity3d Android - Fixed Resolution - Game …

    How can i set a fixed 720p resolution on any devices using unity3d android? Presumably you considered setting up a RenderTexture with those dimensions and rendering to/displaying …