Simple example on how to add items to the UI dropdown list programmatically with C#. Script finds all gameobjects with a certain tag and adds them to the dropdown. Download and open this with Unity >= ...
This project was originally made for work but decided to make it as an external Extension. Custom dropdown that supports parent with childs option data and search function ...