archiving, development moved to https://github.com/hannesdelbeke/openmenu
A pure python module to add python commands to the unreal engine 5 menu.
create your config in yaml
parent_menu: LevelEditor.MainMenu
items:
- name: my menu
items:
- name: my item
command: print("Hello World")
or json
{
"parent_menu":"LevelEditor.MainMenu",
"name":"my menu",
"items":[
{
"name":"my item",
"command":"print(\"Hello World\")"
},
{
"name":"my sub menu",
"items":[
{
"name":"sub item 1",
"command":"print(\"Hello World\")"
}
]
}
]
}
run this to create your unreal menu from the config
import unreal_menu
unreal_menu.setup(config_path)
- support loading multiple configs. Great for a single studio config and several project configs. Or a team config.
- support creating another config to a previously created menu, or submenu!
- setup autoload on startup with init_unreal.py