this is basic dropdown Ui object
I want to make it ,if I click dropdown, show every elements but
can only select top element others not.
like this image, because I made tutorial.
how can I restrict other element to select?
You can create your custom drop down and setup Interactable to false for options you are not able to select. Or you need to modify Dropdown script, better copy it and rename then setup Interactable opiton for your items list.
On picture DropDown - button OnClick -> DropDownFields->gameObject.Active(true); Green Red Blue - fields with buttons. when onClick->{SelectFieldAction();DropDownFields->gameObject.Active(false)} To DropDownFields you need to add components ContentSizeFilter and VerticalLayoutGroup. And you have custom ScrollDown you can add as many field as you need and setup Interactable for each button true of false.