0 votes

I like editor's filesystem_dock and I want to create plugin that allow to change folder (not only view "res://" folder), unpack tar, zip, ?rar? and custom package and import game resources.

Is is possible to modify filesystem dock via API or I need to copy it from godot source (editor/filesystem_dock.cpp)?

in Engine by (28 points)

I don't think it was ever intended to be used this way... I wonder if it's even exposed to the API. Usually plugin makers make their own UI from basic controls instead of using existing docks.

1 Answer

0 votes

You cannot edit the FileSystem dock via the scripting API. The latest stable (3.1.2) only has an EditorInterface.select_file() method. Afaict, that is the only method related to the dock at all.

If you want to use that node, then yes, you would need to recreate its features by translating the engine's C++ editor code into script code for some personal node of your own creation.

by (186 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.