- Home /
Question by
ElevenAB · Aug 24, 2017 at 05:10 AM ·
slidercolor change
Pick color from a sprite using a slider
Hello I have a sprite something like this ][1]
I want to use the sprite as a slider to pick the color. How would I go about doing this?
slider-reference.png
(33.0 kB)
slider-reference.png
(33.0 kB)
Comment
Answer by bolt5 · Aug 24, 2017 at 08:39 AM
Make 4 floats. Name them each. R, g, b, and a.... Then each of them have a Range attribute, min=0, max=1
Your answer
![](https://koobas.hobune.stream/wayback/20220612133423im_/https://answers.unity.com/themes/thub/images/avi.jpg)