Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pixelsPerUnit

The number of pixels in the Sprite that correspond to one unit in world space. (Read Only)
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float pixelsPerUnit { get; }