文档

Unity Engine

Unity Engine

StaticText

The accessibility node behaves like static text that can't change.
阅读时间1 分钟最后更新于 1 个月前

Definition

StaticText = 3

Remarks

On macOS, if this role is set on a node that has a AccessibilityNode.label assigned, the screen reader announces the node as a "text". On other platforms, this role does not affect the node's announcement but provides the screen reader with semantic information about the node.
On Windows and macOS, if this role is set on a node without a label, the screen reader ignores the node.