Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


spritePixelsToUnits

Scale factor between pixels in the sprite graphic and world space units.
Read time 1 minuteLast updated 11 days ago

Definition

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