+1 vote

Hello.

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.

Thanks!

in Engine by (13 points)

1 Answer

0 votes

I'm also looking for something like this!
I'm trying to access savebranchas_scene

by (1,340 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.