We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ad1ca commit 2fc0d4aCopy full SHA for 2fc0d4a
Assets/Scripts/Screen Reader/AccessibilityManager.cs
@@ -197,10 +197,7 @@ void OnEnable()
197
198
// Generate the accessibility hierarchy for the current scene and set it to AssistiveSupport.activeHierarchy
199
// so that the screen reader can use it.
200
- var lastLoadedScene = GetLastLoadedScene();
201
-
202
- GenerateHierarchy(lastLoadedScene);
203
- AssistiveSupport.activeHierarchy = hierarchy;
+ RebuildHierarchy();
204
}
205
206
void OnDisable()
0 commit comments