FeastSC 发表于 2022-8-26 07:44

Unreal 5 python 在ToolBar添加按钮








import unreal
menus = unreal.ToolMenus.get()

menu_name = "LevelEditor.LevelEditorToolBar.Cinematics"
menu = menus.find_menu(menu_name)

print(menu)LogPython: <Object '/Engine/Transient.ToolMenus_0:RegisteredMenu_53' (0x00000B7E1F87AB40) Class 'ToolMenu'>
页: [1]
查看完整版本: Unreal 5 python 在ToolBar添加按钮