I want to create a nested UI using buttons.
Now these buttons are toggled. Let say I click “Menu1” there’ll be a toggled transition in it’s image and then Sub-menu1 and Sub-menu2 will show so on and so forth and after than I need to know via bool if which are toggled and which are not…
Anyone has idea?
Menu1 → Sub-menu1 → Sub-sub-menu1
→ Sub-menu2 → Sub-sub-menu2
Menu2 → Sub-menu12 → Sub-sub-menu12