文档

Unity Engine

Unity Engine

nodeFocusChanged

Event invoked on the main thread when the user changes the screen reader focus by navigating to a different accessibility node.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static event Action<AccessibilityNode> nodeFocusChanged

Remarks

Subscribe to this event if you need to know when the screen reader focus changes. For example, to scroll the visual element represented by the focused node into view if it is not currently visible.