generateAccessibilityHierarchy
Whether this document's content is included in the automatically generated accessibility hierarchy. The default value is true.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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.