Search Unity

Question Changing image based on 6 sliders

Discussion in 'UGUI & TextMesh Pro' started by redshiftclick, Dec 21, 2022.

  1. redshiftclick

    redshiftclick

    Joined:
    Jun 6, 2022
    Posts:
    1
    Hi everyone,

    Very new to Unity and hoping to get some assistance.

    I am trying to make a user interface that has 6 sliders, each with 3 values to choose from. Based on the value of each slider, I want to show one image (out of a total of 18). I've figured out how to change values and change the image based on that value, but I am struggling to figure out a way to only check the values of sliders that were last updated. Meaning if slider1 changes to 3, it will show image3; but if I then change slider2 to 2, it will no longer show image3 but instead show image5.

    Hopefully this is enough information to get the ball rolling. Again, I'm very new to Unity so any help would be greatly appreciated.