Documentation

Unity Engine


Unity Engine


spritePixelsToUnits

Scale factor for mapping pixels in the graphic to units in world space.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. Use spritePixelsPerUnit property instead.
public float spritePixelsToUnits { get; set; }