Documentation

Unity Engine

Unity Engine

spritePixelsToUnits

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

Definition

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