- Home /
Creating a dynamic dropdown menu based on active GameObjects
Hello everyone,
I'm new to scripting in Unity3d and im working on a realtime flight visualisation. I currently have a project where all realtime flights in a certain area of the world are visualised. I have an empty gameobject called ''airplanes'' that gets filled with GameObjects for each active flight at that moment when I press play, these GameObjects are continuously created and destroyed as new flights enter or existing flights leave the specified area. I want to create a dynamic dropdown menu with buttons for every gameobject that is active, which i can press to, for example, zoom to the corresponding gameobject. Does anyone have an idea how I can connect the active gameobjects to dropdown menu buttons?
Your answer
Follow this Question
Related Questions
Does anyone know how to make a Dropdown inside an element of another Dropdown? 0 Answers
Get Dropdown Index value based on text value using Where c# filter 1 Answer
Need help writing script 1 Answer
Array GameObjects Destinations NavMeshAgent 2 Answers
Visual Scripting: No TextMeshPro Units 0 Answers