Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


renderOrder

The render order in which the canvas is being emitted to the Scene. (Read Only)
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public int renderOrder { get; }

Remarks

Note: Currently only
Screen Space - Overlay
canvases are ordered correctly as
Screen Space - Camera
and
World Space
are emitted and sorted based upon distance from the camera.