#Change gradience alpha channel
1 messages · Page 1 of 1 (latest)
the doc is pretty well done for that https://docs.unity3d.com/ScriptReference/Gradient.html
I have seen this but couldn't yet it work :/
I will give it a try again tomorrow or I will try a different approach
whats your current code
Public Gradient gradientColor;
Public Slider slider;
gradientColor.evaluate(slider.value).```
I think something like that
I have to access to the computer now
I wanna keep the colors depending the value on slider
I had it worked by half
I could reduce the alpha channel but the color changed
i don't see how your code is related to your issue, maybe there is something i didn't understood about your problem
(btw, for coloration it's 'cs' or 'csharp' not 'c#')
Ohh okay thanks