Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Distance

Sort based on distance to the camera position. For orthographic cameras, this mode is the same as sorting by depth.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
Distance = 1