How do I change a character's eye color with an UI slider?

I “solved” the problem by not using a slider.

I made a dynamic material instance and change the texture using buttons. I did the same for skin color.

203037-skärmklipp.jpg

203038-skärmklipp2.jpg

I mark this question as solved now.