I have been using Godot a bit lately with C#. It’s going pretty well but I’m finding some of the documentation for certain things to be lacking on the C# side of things.
One case in particular was passing down data into a signal on connect and getting that data when the signal is fired.
Real life use case
I had a bunch of nodes that I instatiated in a loop and connected the on_Press signal to a function in the parent node. I wanted to be able to tell which object fired the event.
Code Example
I’m not sure if this is the correct way to handle this situation but it works well for my situation.
Hope this helps anyone who has come across the same issue and found no resources on how to fix it.