The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

Here's my code:

public class DialogBox : NodeLinker
    public override Godot.Collections.Array _GetPropertyList()
        Godot.Collections.Array properties = new Godot.Collections.Array();

        EditorProperty editorProperty = new EditorProperty();
        editorProperty.Name = "Test";


        return properties;

If I add [Tool] keyword to my class, the following occurs in the inspector:

I'm guessing that i'm not providing the right type in the Array, for it to appear like that, what are the expected contents returned in the array of _GetPropertyList(), and if it is EditorProperty, how do I set its flags and type?

Alternatively, if I were to do the same in my NodeLinker parent script, nothing appears in the inspector, is this intended behavior? If you try to use [Export] on a parent, it works correctly however.

Godot version 3.4.2
in Engine by (41 points)

for more info on this, I got the information from here

i've found out how to do it in this post here
however, the inheritance issue still persists, when applying _GetPropretyList to the parent and marking that script as a [Tool] nothing happens

1 Answer

0 votes
Best answer

as commented I found the answer here
the inheritance issue was fixed by adding the [Tool] keyword on the child.

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