v4.4.stable.official [4c311cbee]
I want to create a dropdown menu with some actions for my custom node type. This exact thing that MeshInstance3D has - see picture. I’ve looked into plugin documentation, but this one seems to be missing? Maybe it’s a more involved setup?
MeshInstance3D
You can add controls there with EditorPlugin.add_control_to_container() and specifying CONTAINER_SPATIAL_EDITOR_MENU for 3D or CONTAINER_CANVAS_EDITOR_MENU for 2D from the CustomControlContainer enum.
EditorPlugin.add_control_to_container()
CONTAINER_SPATIAL_EDITOR_MENU
CONTAINER_CANVAS_EDITOR_MENU
CustomControlContainer
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.