Does anyone know how to set the dropdownUI value with a string in unity?
I know how to set it up with an int like these
public DropDown dropdown;
dropdown.value = 1;
However, what I want is to set the value with a given string.
Something like:
dropdown.value = "an Option";