Basically, I have a dropdown UI and on its options are some resolutions I want to loop through this dropdown options using a foreach loop and test the value (Option from dropdown) in an if statment.
I tried the following
foreach (Dropdown.OptionData Options in DropDown.options){
print(Options.ToString());
}
and this is what printed out: “UnityEngine.UI.Dropdown+OptionData”
How can I have the actual option I have for the user to be printed out instead of " UnityEngine.UI.Dropdown+OptionData"