title: How do I access the Pixels To Units property for a Unity sprite from a script
body: <p>I would like to access the Pixels To Units property of a sprite from within a C# script in Unity.</p>
  
  <p>If I get either the localScale or lossyScale properties they need to be divided by this number in order to scale in accordance with other objects that may have different values for their Pixels To Units property.</p>
  
  <p>How can I get the value of this property or scale correctly in this situation?</p>
  
  <p><img src="https://i.stack.imgur.com/eMjaf.png" alt="PixelsToUnityUnits"></p>