Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


spritePixelsPerUnit

The number of pixels in the sprite that correspond to one unit in world space.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public float spritePixelsPerUnit { get; set; }