文档

Unity Engine

Unity Engine

isActive

Whether the accessibility node is exposed to screen readers. The default value is true.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool isActive { get; set; }

Remarks

This property controls the visibility of the node to screen readers, ensuring that only relevant elements are accessible to the user. For example, elements that are covered by a modal view should not be accessible.
If this property is set to
false
, the screen reader ignores the node and prevents the user from focusing on it. This is useful when temporarily disabling the node is preferred over removing it from the hierarchy.