- 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