All Questions
5 questions
0
votes
1
answer
202
views
Android Specifications : What are the integer values for "small" screen size, "normal" screen size, ldpi, mdpi, hdpi?
Android has this document where they define thee terms for screen size, and pixel density such as screenSize="small", "ldpi". Here is the link to that document:
https://developer....
2
votes
1
answer
894
views
How to detect if a mobile device is a foldable phone?
There are new "foldable" mobile devices such as Samsung foldable phones.
Is there any way we can write a C# script in Unity to detect if the device is a foldable phone ?
I try, but can't ...
2
votes
2
answers
3k
views
How to adjust objects' coordinates and scale for different device resolutions?
I have a bunch of objects which are generated in specific coordinates, let's say in a range of -5 to +5 on the X axis. I came up with these numbers because of camera size I have in Unity editor.
What ...
9
votes
2
answers
32k
views
How to force keep the aspect ratio and specific resolution without stretching the output screen view?
I'm using Screen.SetResolution()
But when I run in Android device, it shows the output image is stretched to fill up the full screen which I don't want. I want it to keep the aspect ratio properly.
...
1
vote
1
answer
2k
views
Unity - how to switch between ratios in a Scene View?
I'm complately new to Unity, but I know what's going on, I've made some games with LibGDX earlier.
In GDX, to handle all ...