0
I want to change the color of a particular element inside of a string array in Unity, C#.
When I try to use “RichText” the value of that element also changes.
For instance when I use
stringArray = “R”;
the value of that index, as it’s clear, also changes to the value of “R”.
So, whenever I call this value again, as the value of that index, I get the output of: “R”
I also tried to use Replace method but the result is the same.
How can I change the particular color of an element in an array in Unity?