Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


referenceSpritePixelsPerUnit

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.
Read time 1 minuteLast updated 10 days ago

Definition

public float referenceSpritePixelsPerUnit { get; set; }