Table of Contents

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 GodotObject

Object that contains the signal.

name StringName

Name of the signal.

Properties

Name

Name of the signal.

public StringName Name { get; }

Property Value

StringName

Owner

Object that contains the signal.

public GodotObject Owner { get; }

Property Value

GodotObject

Methods

GetAwaiter()

public IAwaiter<Variant[]> GetAwaiter()

Returns

IAwaiter<Variant[]>