API reference
API reference
Select your platform
No SDKs available
No versions available

TextStyle Class

Extends Style
This is a ScriptableObject that's storing the style of the text used by Immersive Debugger.
Containing properties like alignment type, font, size and color. For more info about Immersive Debugger, check out the official doc

Fields

Where the anchor of the text is placed.
There are 9 possible alignment styles, check out details in the TextAnchor.
The font of the text using Unity's builtin Font type.
Assign it with font assets.
The font size of the text, by default to 14.
The color for the text with Unity's builtin Color type.
by default using white color.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon