Aren,
When I set the top or bottom gradient color from code, the color value doesn't seem to be getting set correctly.
...here is the code...
UILabel label = GetComponent<UILabel>();
label
.gradientTop = new Color
(255f,220f,
0);label
.gradientBottom = new Color
(255f,
0,
0);
...but when this runs, the color values seem to get "re-scaled" to a value between 0 and 65025, which results (apparently) in them not being considered correct colors, or just being ignored.
At runtime if I then try to change the color values in the color gadget in the Unity Inspector to the proper RGB values, I get (in this example) a nice red-to-orange gradient as expected. But when I set them through code, I get these "squared" values and the text just appears white.