Table of Contents

Class Coroutine

Namespace
Cobilas.GodotEngine.Utility
Assembly
com.cobilas.godot.utility.dll
public sealed class Coroutine : IEnumerable, IDisposable
Inheritance
Coroutine
Implements
Inherited Members

Constructors

Coroutine(IEnumerator?, string?)

public Coroutine(IEnumerator? enumerator, string? iD)

Parameters

enumerator IEnumerator
iD string

Properties

ID

public string ID { get; }

Property Value

string

IsCancellationRequested

public bool IsCancellationRequested { get; }

Property Value

bool

IsRunning

public bool IsRunning { get; }

Property Value

bool

Methods

Cancel()

public void Cancel()

CancelAfter(int)

public void CancelAfter(int millisecondsDelay)

Parameters

millisecondsDelay int

CancelAfter(TimeSpan)

public void CancelAfter(TimeSpan delay)

Parameters

delay TimeSpan

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

~Coroutine()

protected ~Coroutine()