Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | imekon |
I created them in the designer, adding a few buttons. I get an item list… but how do I connect to “pressed” with each button?
This is Godot V3.0
I believe the second half of that step by step guide will give you what you need
Scripting — Godot Engine (3.0) documentation in English
rustyStriker | 2018-02-05 22:53
I know how to connect ordinary buttons but how do I connect buttons in a MenuButton? I can’t select them in the editor, they’re in a modal dialog.
imekon | 2018-02-05 23:12
In case it helps anyone, it’s hard to find out how to edit the popup items for a MenuButton. You can’t do it in the Inspector; an “Items” button appears in the header of the main viewer when you select the MenuButton in the scene. Click that to edit the items.
garyo | 2018-02-09 18:05