Signal1
Signal support.
ScriptCreateDialog.swift:76class Signal1
Use the connect(flags:_:)
method to connect to the signal on the container object, and disconnect(_:)
to drop the connection.
You can also await the emitted
property for waiting for a single emission of the signal.
Other members in extension
Type members
Instance members
var scriptCreated: Signal1
Emitted when the user clicks the OK button.
func config(inherits: String, path: String, builtInEnabled: Bool, loadEnabled: Bool
) Prefills required fields to configure the ScriptCreateDialog for use.
Citizens in SwiftGodot
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 (_ script: Script) -> ()
) -> Object Connects the signal to the specified callback
func disconnect(Object
) Disconnects a signal that was previously connected, the return value from calling
connect(flags:_:)