AccessibilitySettings
Provides access to the accessibility settings for the current platform.
Read time 1 minuteLast updated 17 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Accessibility
- Assembly: UnityEngine.AccessibilityModule
public static class AccessibilitySettings
Remarks
The currently supported platforms are:
This class also provides events that are invoked when the user changes accessibility settings.
Static Properties
Property | Description |
|---|---|
| fontScale | Gets the font scale set by the user in the system settings. |
| isBoldTextEnabled | Checks whether or not bold text is enabled in the system settings. |
| isClosedCaptioningEnabled | Checks whether or not closed captioning is enabled in the system settings. |
Static Events
Member | Description |
|---|---|
| boldTextStatusChanged | Event that is invoked on the main thread when the user changes the bold text setting in the system settings. |
| closedCaptioningStatusChanged | Event that is invoked on the main thread when the user changes the closed captioning setting in the system settings. |
| fontScaleChanged | Event that is invoked on the main thread when the user changes the font scale in the system settings. |