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
IEnumeratoriD
string
Properties
ID
public string ID { get; }
Property Value
IsCancellationRequested
public bool IsCancellationRequested { get; }
Property Value
IsRunning
public bool IsRunning { get; }
Property Value
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()