Cascading dropdown menus
Hi,
I would like to create a dropdown menu that has one hundred and ten items on it. My questions are:
Is this too many for Unity to handle? Should I make just one menu with all items?
Is it possible to create cascading dropdown menus in Unity. For example, can I create a first dropdown menu to group elements (for instance all elements that start with a letter from A to E, then another group for F to J, then another....)? Then, if a user selects the A to E group, a second dropdown menu emerges beside (or below) the first menu to list all the elements in the group A to E, of which there might be up to 30.
Which would be the better way, considering that the game I'm creating should be able to play on tablets and cell phones?
Thank you for your help.
DB ,Hi,
I would like to create a dropdown menu that has one hundred and ten items on it. My questions are:
Is this too many for Unity to handle? Should I make just one menu with all items or should I instead create a dropdown menu to group elements (for instance all elements that start with a letter from A to E, then another group for F to J, then another....)? Then, if a user selects the A to E group, a second dropdown menu emerges beside (or below) the first menu to list all the elements in the group A to E, of which there might be up to 30.
Which would be the better way, considering that the game I'm creating should be able to play on tablets and cell phones?
Thank you for your help.
DB
I also have no clue on how to do Cascading dropdown menu in Unity. If you found how to do it please do share. Thank You
- Populate 1st Dropdown with the groups you want 
- Populate the dropdown with new options depending on the selected option in dropdown 1 
My requirements - scene will have three dropdowns for example dropdown1 = Countries, dropdown2 = Names of states of concern country and dropdown3 = Names of major cities of selected state. so, do I have to create 3 separate scripts of three dropdowns? Or Is it possible to do in single script? Please share your knowledge on this Thank you
The system works with the number of dropdowns you want.
- Populate 1st Dropdown with the groups you want 
- Listen to the 1st dropdown value being changed 
- Clear the options of your 2nd dropdown 
- Populate the 3rd dropdown with new options depending on the selected option in the 1st dropdown 
- Listen to the 2nd dropdown value being changed 
- Clear the options of your 3rd dropdown 
- Populate the 3rd dropdown with new options depending on the selected option in the 2nd dropdown 
- Listen to the 3rd dropdown value being changed 
- Clear the options of your 4th dropdown 
- Populate the 4th dropdown with new options depending on the selected option in the 3rd dropdown 
And so on.
Yes, you can do all of this in the same script.
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                