This version of Unity is unsupported.

AssistiveSupport.activeHierarchy

public static Accessibility.AccessibilityHierarchy activeHierarchy;

Description

The active AccessibilityHierarchy for the screen reader. May be null if no hierarchy is active.

Throws PlatformNotSupportedException if the screen reader support is not implemented for the platform and the code is not running in the Unity Editor. Currently supported platforms are: RuntimePlatform.AndroidRuntimePlatform.IPhonePlayer