文档

Unity Engine

Unity Engine

overrideSorting

Allows for nested canvases to override the Canvas.sortingOrder from parent canvases.
阅读时间1 分钟最后更新于 21 天前

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.