PanelSettings.referenceSpritePixelsPerUnit

public float referenceSpritePixelsPerUnit;

Description

Sprites have a Pixels Per Unit value that controls the pixel density of the sprite. For sprites that have the same Pixels Per Unit value as the Reference Pixels Per Unit value in the PanelSettings asset, the pixel density will be one to one.


Did you find this page useful? Please give it a rating: