Hi out there!
I am trying to use a dropdown menu in my main menu to choose an act. When an Act is chosen i want a map preview to be shown corresponding to the chosen act (for now) but I just can’t figure out how to “connect” changing to a specific sprite to a specific dropdown option being chosen.
It seems there is no way to do it other than scripting is that assumption correct?
It seems so easy to just include a number for both the options and the operations in “on value changed” to make unity know what to do for which option
OnValueChanged includes an int parameter as it shows in your screenshot. You’ll need a function or a field or property that accepts an int parameter and assign the OnValueChanged listener to that.