Instance Methodmigueldeicaza.swiftgodot 0.45.0SwiftGodot
disconnect(_:)
Disconnects a signal that was previously connected, the return value from calling connect(flags:_:)
func disconnect(_ token: Object)
Other members in extension
Instance members
var emitted: Void
You can await this property to wait for the signal to be emitted once
func connect(flags: Object.ConnectFlags, @escaping (_ bodyRid: RID, _ body: Node, _ bodyShapeIndex: Int64, _ localShapeIndex: Int64) -> ()
) -> Object Connects the signal to the specified callback