Simple extension method to convert a string to a Color.
Why
Copying individual floats from the Unity editor to hard-code a color value is time consuming and annoying. With this, you can just copy the hex value out of the Unity editor and paste it into your script.
What
Simple extension method to convert a string to a Color.
Why
Copying individual floats from the Unity editor to hard-code a color value is time consuming and annoying. With this, you can just copy the hex value out of the Unity editor and paste it into your script.
How
"#FFFFFF".ToColor()