@Migueldeicaza One thing for the swift-godot, I don't know if it's in the todo, or if there is some technical problem, but will be really nice, that the custom signals had same interface/behaviour than the native signals from godot. Will be super to do something like whatever.customsignal.connect { self.myReaction }, and not need all this whatever.connect(signal: Whatever.customSignal, to: self, method: "myReaction")
=> More informations about this toot | More toots from eickot@mastodon.social
@Migueldeicaza An extra note here, the docs on the connecting the signal, are old (or at least are different from the version in main of swiftgodot):
https://migueldeicaza.github.io/SwiftGodotDocs/documentation/swiftgodot/signals#Connecting-Everything-Together
(the name of the signal parameter is missing)
=> More informations about this toot | More toots from eickot@mastodon.social
@eickot ah I should fix that :-)
=> More informations about this toot | More toots from Migueldeicaza@mastodon.social
@eickot we already do. Did you check the docs?
=> More informations about this toot | More toots from Migueldeicaza@mastodon.social
@Migueldeicaza I was looking at the docs, and the docs, show the interface I writed in mastodon :) and I tried to do the normal connection with the .connect and it didn't work.
=> More informations about this toot | More toots from eickot@mastodon.social
@eickot oh you know what I haven’t pushed the new docs with the new signal code. You are going to have to Read the files in git
=> More informations about this toot | More toots from Migueldeicaza@mastodon.social
@Migueldeicaza That won't be a problem, is this repo? https://github.com/migueldeicaza/SwiftGodotDocs/tree/main I only see main branch.
=> More informations about this toot | More toots from eickot@mastodon.social
@eickot that’s the generated repo, the source of truth is SwiftGodot itself. I’ll push later torse an update
=> More informations about this toot | More toots from Migueldeicaza@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini