文档

Unity Engine

Unity Engine

zIndex

Controls the stacking order of overlapping elements within a stacking context. The default is auto, which does not create a stacking context; any integer value creates one for the element and its descendants.
阅读时间1 分钟最后更新于 1 个月前

Definition

StyleInt zIndex { get; set; }

Remarks

Unlike CSS, transform and opacity do not establish a stacking context in UI Toolkit; only a z-index other than auto does.