文档

Unity Engine

Unity Engine

sortingOrder

The order in which this UIDocument will show up on the hierarchy in relation to other UIDocuments either attached to the same PanelSettings, or with the same UIDocument parent.
阅读时间1 分钟最后更新于 1 个月前

Definition

public float sortingOrder { get; set; }

Remarks

A UIDocument with a higher sorting order is displayed above one with a lower sorting order. In the case of identical sorting order, an older UIDocument is drawn first, appearing behind new ones.
Additional Resources: PanelSettings.sortingOrder