Coroutine
Namespace: MonineEngine.Core.Coroutines
Coroutine handle with data on a running coroutine.
public class Coroutine
Inheritance Object → Coroutine
Attributes NullableContextAttribute, NullableAttribute
Fields
IsPaused
Gets or sets
public bool IsPaused;
Owner
public Entity Owner;
Properties
Enumerator
Gets the enumerator of the coroutine.
public IEnumerator Enumerator { get; }
Property Value
Constructors
Coroutine(IEnumerator, Entity)
Constructs a new Coroutine
public Coroutine(IEnumerator routine, Entity owner)
Parameters
routine IEnumerator
The routine of the coroutine.