While designing UI in unity. If I directly attach single mdpi image and text in different resolution the images/sprite are scaling as per screen size.But the problem is when the image is scaled its getting displayed as pixelated?
So I read about asset bundle variants and trying to use them by making different bundles for different resolutions. (bundles varients are xxxhdpi, xxhdpi, xhdpi, hdpi, mdpi and ldpi).
But I am stuck at how to pick the asset bundle variant for the device that my game is running.How to use Screen.dpi
in unity to achieve that ?
I am assuming I can do the same for both Android(phones and Tabs) and IOS(iPhones and iPads) devices as well.