Hi. I want to change the Color of the Text Mesh Pro through Code.
I know that we can simply use .text.color
But, the requirement is to change some characters of the whole text.
Here is my Code:
public TextMehsProUGUI Text;
void Start() {
Text.text = "I want to change THIS"
}
In short, I want to change the color of the word “THIS”.