Documentation

Unity Engine

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 a month ago

Definition

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