PixelPerfectCamera

Class in Nostalgia / Inherits from: UnityEngine.MonoBehaviour

Description

A component that supports Pixel Perfect for Camera.

Remarks

  • The Camera Projection must be "Orthographic".
  • Use PixelPerUnit (pixel size per unit in the scene) and RefResolution (assumed resolution you want to fit in the camera) to back-calculate the camera size and coordinates to achieve pixel perfection.