I have a dialog in my game UI that allows a player to select between different species. I would like to dynamically populate the UIPopuplist.Options (via my C# code) based on that species selection, but there does not appear to be an exposed method or property that I can find.
Also, at one point I am trying to disable the UIPopuplist if only a single option is available, but its .enabled property does not appear to do anything to the behavior although I can see via the editor that it is clearly unchecking the enabled checkbox on the UIPopuplist script component. I would expect if I set it's .enabled=false, the drop-down would change to a disabled color and the dropdown would cease to respond.
Any help would be appreciated!