Made a UIPopupList, and I populate it dynamically depending on what's happening. Figured it out.
However, two things I ended up modifying and thought would be nice...
The default drop-down list for selecting which item, options for first, or last, would be great, as my list is empty when it's created. My hacky fix was to just make the first one highlighted always. It works, but an option for first/last would be great.
Second thing was the popup list is always to right of the mouse when clicked. I didn't really want to use an anchor and not even sure it'd work since the popup list is appearing all over the screen at different times; however, perhaps a value for 'offset' of the mouse click? Stuff on the far right of the screen gets cut off if my text is too long, so I just offset the bounds by -20X early on.
t.localPosition = new Vector3(bounds.min.x - 20, bounds.min.y, bounds.min.z);
An actual offset value would be awesome, because you could change it via code depending on the max length of a string in the popup, etc.
Nothing major, but these would be helpful. Thanks.