Struct Signal
- Namespace
- Godot
- Assembly
- GodotSharp.dll
Represents a signal defined in an object.
public readonly struct Signal : IAwaitable<Variant[]>
- Implements
- Inherited Members
Constructors
Signal(GodotObject, StringName)
Creates a new Signal with the name name
in the specified owner
.
public Signal(GodotObject owner, StringName name)
Parameters
owner
GodotObjectObject that contains the signal.
name
StringNameName of the signal.
Properties
Name
Name of the signal.
public StringName Name { get; }
Property Value
Owner
Object that contains the signal.
public GodotObject Owner { get; }
Property Value
Methods
GetAwaiter()
public IAwaiter<Variant[]> GetAwaiter()