Transform float to coloured string

Updated on February 7, 2016 in [A] Unity Scripting
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on February 7, 2016

Hi everyone,

I want to transform my float to a string with colour #00D4FFFF. I used myFloat.ToString(), but I can’t find how to apply a colour to it..

  • Liked by
Reply
0 on February 7, 2016

You’re probably looking for this: http://docs.unity3d.com/ScriptReference/ColorUtility.html

  • Liked by
Reply
Cancel