文档

Unity Engine

Unity Engine

generateAccessibilityHierarchy

Whether this document's content is included in the automatically generated accessibility hierarchy. The default value is true.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool generateAccessibilityHierarchy { get; set; }

Remarks

This property only takes effect while the experimental Generate Accessibility Hierarchies for Runtime Panels setting is enabled in Project Settings > UI Toolkit. An opted-out document contributes nothing to the generated hierarchy, including the content of any child documents. Changing the value on a live document adds or removes its content in place, without rebuilding the rest of the generated hierarchy.