focusChanged
Event invoked on the main thread when the accessibility node gains or loses screen reader focus.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Event
- Namespace: UnityEngine.Accessibility
- Assembly: UnityEngine.AccessibilityModule
public event Action<AccessibilityNode, bool> focusChanged
Remarks
Subscribe to this event if you need to know when the node gains or loses screen reader focus. For example, to select a text field when the user navigates to it, so that it can receive keyboard input.