Unable to inherit from my custom C# class

Godot Version

Godot 4.4

Question

I have a custom script that inherits from the base Node class. I’m now trying to build new scripts that inherit from that custom script. However, the custom script doesn’t show up in the inheritance picker.

Is something wrong, or should I just create a class inheriting from Node and then manually change the inheritance to my custom class in VS?

You need to include the GlobalClass attribute at the top of your class.

1 Like

Ohh, I see. Thanks a lot!