Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


overrideSorting

Allows for nested canvases to override the _sortingOrder from parent canvases.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public bool overrideSorting { get; set; }

Remarks

If set, nested canvases can ignore the parent draw order, and either draw on top of or below the parent draw order.