- Home /
How to select, via script, a style by name for a TextMeshPro.UGUI?
I have a stylesheet in my project with many styles, for example, a style called "disabled" and one called "enabled". I can easily apply those styles via the editor.
How can I change the style applied to a text object via script?
Comment
Your answer
Follow this Question
Related Questions
Text Mesh Pro : How to override standard text styling tags ? (bold, underline, etc ...) 0 Answers
Textmesh Pro Sprite Flipping Upside Down 0 Answers
Make TextMeshPro text appear over sprite? 1 Answer
How to implement colored emojis in TMPro? 0 Answers
can I enlarge image output with linear interpolation? 1 Answer