title: Hot to decide which asset bundle varient of xxhdpi, xhdpi, hdpi, mdpi or ldpi should be picked in unity3d game to have decent UI with out pixelated?
body: <p>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? </p>
  
  <p>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).</p>
  
  <p>But I am stuck at how to pick the asset bundle variant for the device that my game is running.How to use <code>Screen.dpi</code> in unity to achieve that ?</p>
  
  <p>I am assuming I can do the same for both Android(phones and Tabs) and IOS(iPhones and iPads) devices as well.</p>