Skip to content

When listening to signals, how to register callbacks that require internal types? #100

Answered by Splizard
Raspincel asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, thanks for reporting this, it is a bit awkward but currently you can use the classdb alias for the type ie. classdb.Node2D and then you can assign the argument to a Node2D.Instance.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Raspincel
Comment options

Answer selected by Raspincel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants