Can I reuse parts of the engine's roject-settings-edit-dialog in game?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By luribert331

Hi!

Can I reuse parts of the editor’s project settings dialog with gdnative in game? Is it difficult? Will the game binary become very big, because maybe I need big parts of the engine? Thanks!

Regards

:bust_in_silhouette: Reply From: Calinou

The EditorSectionedInspector control is editor-only, and therefore cannot be used in projects. You’ll need to remake it from scratch using HSplitContainer, Tree and EditorSpinSlider controls. (Despite its name, EditorSpinSlider is exposed to the scripting API and can be used in exported projects.)

Thank you very much!

Will I be able to reuse more with GDExtension?

luribert331 | 2022-02-12 19:24

GDExtension can still only access what’s exposed to the scripting API, so I don’t think that’s possible.

Calinou | 2022-02-28 01:09