Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


spritePixelsToUnits

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

Definition

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