Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

AccessibilitySettings

class in UnityEngine.Accessibility

/

Implemented in:UnityEngine.AccessibilityModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Access point to system accessibility settings on the user's device and to events that trigger when the user changes these settings.


These APIs provide information about the user's accessibility preferences and can be used to adapt an application's UI according to the accessibility settings on the user's device. Their values are read-only and are updated when the user changes them in the system settings.

These APIs are currently supported on the following platforms:

- RuntimePlatform.Android - RuntimePlatform.IPhonePlayer

Additional resources:

Static Properties

Property Description
fontScale The font scale set by the user in the system settings.
isBoldTextEnabled Whether bold text is enabled in the system settings.
isClosedCaptioningEnabled Whether closed captioning is enabled in the system settings.

Events

Event Description
boldTextStatusChanged Event invoked on the main thread when the user changes the bold text setting in the system settings.
closedCaptioningStatusChanged Event invoked on the main thread when the user changes the closed captioning setting in the system settings.
fontScaleChanged Event invoked on the main thread when the user changes the font scale in the system settings.