I want to limit the board size of a 3D board game on smaller devices. Works nicely on physical devices. Unfortunately I don’t have all iPads and iPhones available.
I’m using **Screen.dpi** together with Screen.width and Screen.height to calculate the physical Screen size. Then I decide on a small, medium, or large board size.
But the iOS simulator gives me a **0** for **Screen.dpi**.
Is this a bug in Unity (like the one fixed in 2017.3 regarding Screen.dpi and new iPhones?) or normal behavior of the simulator?
Is there a better way?
↧