Creating a menu bar for in game UI

I would like to create a menu bar similar to the Unity ( file | edit | asset ) menus (see image) but for an in game UI, what would be the best way to create something like this?

I’ve been using this, which is pretty close: GitHub - fabSchneider/fab.uitk-runtime-dropdown

Thanks!!

did you apply it for more than 1 buttons? is it working for more than 1 button in ui

Yeah. Each button defines its own separate dropdown menu, they don’t interfere with each other.

They have sample code you can refer to to see how to set it up: https://github.com/fabSchneider/fab.uitk-runtime-dropdown/tree/master/Packages/com.fab.uitk-runtime-dropdown/Samples/SampleDropdowns

For the life of me, I can’t figure out how to actually install that package

So apparently you have to add #upm to the end of the git url. Very intuitive.

https://github.com/fabSchneider/fab.uitk-runtime-dropdown.git < doesn’t work
GitHub - fabSchneider/fab.uitk-runtime-dropdown < works