I have a few inspector fields in my C# code:
public Color BackgroundColor = new Color(45, 50, 125, 255);
public Color TextColor = new Color(228, 228, 228, 255);
public Color WarningColor = new Color(254, 213, 0, 255);
public Color ErrorColor = new Color(241, 74, 36, 255);
But when I add my script to a component all the colors are white except for the yellow.
I tried to reset the colors in the Reset
method but that doesn’t work either, they stay white until I change them in unity.
Don't forget to set the topic answered. =D
– Frye