|Topic was automatically imported from the old Question2Answer platform.
I’m trying to create an EditorPlugin using GDScript.
I’ve have been able to attach a new EditorProperty (a button) to the list of properties of a node, and to execute some code when clicked.
Now I was trying to open the default SceneTreeDialog (Node selector) when the button is clicked.
I have tried using SceneTreeDialog.new().show() but “new()” method is not valid for SceneTreeDialog.
I have been able to get an instance of SceneTreeEditor by navigating the editor SceneTree (successfully hiding and showing the SceneTreeDock).
But I don’t know how, if possible, I can display the standard Node Selector modal from my plugin.