I have a Text Game Object and I've tried passing a string containing HTML in it to change the color of part of the string but it's not working it just displays the code.
The documentations says that you use the HTMl tags which I am.
Tooltip.transform.GetChild (0).GetComponent<Text> ().supportRichText = true;
Tooltip.transform.GetChild (0).GetComponent<Text> ().text = "<color=blue>" + _item.itemDescriptiveName + "</color><b><b><color=white>" + _item.itemDesc;
I'm even trying to ensure the...
Can't seem to get Rich Text to work in UI Text.
The documentations says that you use the HTMl tags which I am.
Tooltip.transform.GetChild (0).GetComponent<Text> ().supportRichText = true;
Tooltip.transform.GetChild (0).GetComponent<Text> ().text = "<color=blue>" + _item.itemDescriptiveName + "</color><b><b><color=white>" + _item.itemDesc;
I'm even trying to ensure the...
Can't seem to get Rich Text to work in UI Text.