Edit of asset "MenuButton Populator" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | MenuButton Populator | MenuButton Populator |
Description |
Adds a quick method to populate a MenuButton with Items. By adding the custom PopupChild Node as a child of the MenuButtonPopulator Node (inherits MenuButton), you can quickly add items, in the order of the children in the Scene Tree. You can also add a PopupMenu Node as a child of the MenuButtonPopulator and add more PopupChild nodes to it, to create submenus. Currently this only supports the first layer of submenus, no recursion. Optionally, you can also use the Signal onPopupItemSelected() found on each PopupChild node, instead of having to create a function and filter the ids manually. |
Adds a quick method to populate a MenuButton with Items. By adding the custom PopupChild Node as a child of the MenuButtonPopulator Node (inherits MenuButton), you can quickly add items, in the order of the children in the Scene Tree. You can also add a PopupMenu Node as a child of the MenuButtonPopulator and add more PopupChild nodes to it, to create submenus. Currently this only supports the first layer of submenus, no recursion. Optionally, you can also use the Signal onPopupItemSelected() found on each PopupChild node, instead of having to create a function and filter the ids manually. |
Category | Scripts | Scripts |
License | GPLv3 | GPLv3 |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/Toorah/Godot_MenuButtonPopulator | https://github.com/Toorah/Godot_MenuButtonPopulator |
Issues Url | https://github.com/Toorah/Godot_MenuButtonPopulator/issues | https://github.com/Toorah/Godot_MenuButtonPopulator/issues |
Godot version | Godot 4.2 | Godot 4.2 |
Version String | 1.1 | 1.0 |
Download Commit | 819cbed193de9746d9d9c8b2ae519b66aa0a259d | 2af1ad10f236e6b78e6661cfb6d7116dcf54f47f |
Download Url (Computed) | https://github.com/Toorah/Godot_MenuButtonPopulator/archive/819cbed193de9746d9d9c8b2ae519b66aa0a259d.zip | https://github.com/Toorah/Godot_MenuButtonPopulator/archive/2af1ad10f236e6b78e6661cfb6d7116dcf54f47f.zip |
Icon Url |
https://raw.githubusercontent.com/Toorah/Godot_MenuButtonPopulator/2af1ad10f236e6b78e6661cfb6d7116dcf54f47f/.images/format-list-text-custom.png
|
https://raw.githubusercontent.com/Toorah/Godot_MenuButtonPopulator/2af1ad10f236e6b78e6661cfb6d7116dcf54f47f/.images/format-list-text-custom.png
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/Toorah/Godot_MenuButtonPopulator/2af1ad10f236e6b78e6661cfb6d7116dcf54f47f/.images/MenuPopup_1.jpg
|
|
Thumbnail |
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/Toorah/Godot_MenuButtonPopulator/2af1ad10f236e6b78e6661cfb6d7116dcf54f47f/.images/MenuPopup_2.jpg
|
|
Thumbnail |
|
Preview Insert | ||
---|---|---|
Type | image | |
Image/Video URL |
https://raw.githubusercontent.com/Toorah/Godot_MenuButtonPopulator/2af1ad10f236e6b78e6661cfb6d7116dcf54f47f/.images/MenuPopup_3.jpg
|
|
Thumbnail |
|