The default Unity UI buttons only allow to define colors to be applied (depending on the button state) to the button target graphics. This free Unity asset extends them to handle an additional set of colors, used on the buttons text labels. TextMeshPro labels are supported too.
The package includes:
- the TextColorButton and TMP_TextColorButton classes and their supporting code
- the ButtonExtensions and TextColorButtonExtensions utility classes
- the complete source code of TextColorButtons Demo that you can see in the video and try in the WebGL demo.