-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Add get_script_instance
to GDExtension
#80040
Add get_script_instance
to GDExtension
#80040
Conversation
Comments fixed and clang-format run. Sorry, I'm very used to it running automatically and forgot to set it up. |
Casting to script types requires [this PR](godotengine/godot#80040), which will make this extension require Godot 4.2 when it is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great to me!
However, it could use a rebase to force the tests to re-run: the test failure is left over from when we were running out of disk space.
27592bc
to
9ee4825
Compare
Rebased and pushed! |
Thanks! Unfortunately, you're also going to need to squash this into a single commit per Godot's Git workflow: https://docs.godotengine.org/en/stable/contributing/workflow/pr_workflow.html#the-interactive-rebase Sorry I didn't catch that when I was reviewing earlier |
Adds a method to GDExtension to get the ScriptInstanceExtension for an object.
9ee4825
to
efc8fd6
Compare
Fixed 😅 |
get_script_instance
to GDExtension
Thanks! |
Adds a method to GDExtension to get the ScriptInstanceExtension for an object.
This implements the proposal in godotengine/godot-proposals#7199
get_script_instance()
to GDExtension godot-proposals#7199