-
-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GDExtension] Can't extend gd extension class #615
Comments
Wouldn't the node that this script is attached to have to be of the |
@ellenhp I'm attaching it to the Example node: I have a feeling this may be caused by the issue Fales mentioned around the class not being recognised correctly. I also have a feeling this may be the exact same reason why the properties don't show in the inspector because the inspector also thinks this is Control (which is the superclass of Example). |
Ok after more investigation it looks like @ellenhp was on the right track afterall. The moment I assign my script to this node, behind the scenes, it changes my node back to being of type Control:
And it's pretty consistent in changing it every time I try to change it back... |
This wasn't possible before in GD native but I was under the impression that GD extensions would allow this, it's been a long requested feature to extend these classes with GDScript
The text was updated successfully, but these errors were encountered: