Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


generateAccessibilityHierarchy

Whether this renderer's content is included in the automatically generated accessibility hierarchy. The default value is true.
Read time 1 minuteLast updated 12 days ago

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 renderer contributes nothing to the generated hierarchy, including the content of any nested Panel Renderers. Changing the value on a live renderer adds or removes its content in place, without rebuilding the rest of the generated hierarchy.