Hi guys,
Does anyone know how to keep the dropdown menu open after selecting an item?
I tried using the Show method, but didn’t work.
Hi guys,
Does anyone know how to keep the dropdown menu open after selecting an item?
I tried using the Show method, but didn’t work.
The Dropdown menu in Unity is currently the menu that comes from the operating system, so we don’t have much control over it unfortunately. You would probably have to create a UI Toolkit-based menu from scratch and make it do what you need, or to start from the GenericDropdownMenu and work your way from there, but there’s no easy solution for you at the moment apart from doing most of the work manually.
I copied the Dropdown menu code from the UI toolkit and modified it to my needs.