How to change color of part of a text?

Hello

i am making a code to display “Sell 1200 aaa and get 600 bbb” by using c#

how can i change the color of the numbers only ?

i mean the whole text is black but the numbers are in blue

Thank you very much

Are you using immediate mode GUI or the new GUI? Or is it some asset that you are using to draw your GUI?

–

i am using 4.5 is that what you mean?

–

1 Answer

1

http://docs.unity3d.com/Manual/StyledText.html

Thank you very much, very useful link.

–

how to access that through code

–