- Home /
Trouble disabling an option in a dropdown
I'm struggling to get hold of the Toggle script for the items in the dropdown. I want to disable so game grid sizes if the device has lower resolutions.
So I have this which gets me the dropdown, but I don't know how to get access to the items so that I can use the Toggle script interactable property.
Dropdown gridSize;
gridSize = GameObject.Find ("GridSizeDropdown").GetComponent <Dropdown>();
Can anyone please help me out here.
Thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612083027im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Dropdown with list of buttons instead of toggles 1 Answer
Dropdown with multiple active options/choices(toggles)? 0 Answers
EditorGUILayout - dropdown / linked toggles & foldout+togglegroup combined 1 Answer
Gui dropdown select many items 0 Answers
instantiating child objects the same way they are layed out in a prefab 1 Answer