Skip to content
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 C# documentation for connecting to GDScript signals with parameters #10098

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheSecondReal0
Copy link

@TheSecondReal0 TheSecondReal0 commented Oct 16, 2024

I'm in the process of converting parts of my game to C#, and had trouble figuring out how to connect to GDScript signals that had parameters. I've updated the cross language scripting page to include the solution that worked for me.

I'm not sure of the best way to explain why you need to explicitly create a new System.Action, maybe explaining that it needs more type information to know which method to call? Any feedback on that would be much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants