Members and overloads 24 declared here On this results page Coroutine(Action, YieldBase, string, string, bool) Coroutine(Action, int, string, string, bool) Coroutine(IEnumerator, string, string, bool) Done(bool) GetCopy(Coroutine) GetEnumerator() MoveNext() Pause(bool) Resume() UpdateCondtion(YieldBase) UpdateTicks(int) Wait() Action AutoResume Condition DoWork IsDone Name Owner Priority Started ThisIsSimple Ticks TimeoutForAction
Copy
public Coroutine.Coroutine(Action action, YieldBase condition, string owner, string name = null, bool autoStart = true)
Creates a new Coroutine instance using the supplied arguments.
Parameters
actionParameter type: ActionNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies action.
conditionParameter type: YieldBaseSpecifies condition.
ownerParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies owner.
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name. Optional; the default is shown in the signature.
autoStartParameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies auto start. Optional; the default is shown in the signature.
Copy
public Coroutine.Coroutine(Action action, int waitMilliseconds, string owner, string name = null, bool autoStart = true)
Creates a new Coroutine instance using the supplied arguments.
Parameters
actionParameter type: ActionNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies action.
waitMillisecondsParameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies wait milliseconds.
ownerParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies owner.
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name. Optional; the default is shown in the signature.
autoStartParameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies auto start. Optional; the default is shown in the signature.
Copy
public Coroutine.Coroutine(IEnumerator enumerator, string owner, string name = null, bool autoStart = true)
Creates a new Coroutine instance using the supplied arguments.
Parameters
enumeratorParameter type: IEnumeratorNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies enumerator.
ownerParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies owner.
nameParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies name. Optional; the default is shown in the signature.
autoStartParameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies auto start. Optional; the default is shown in the signature.
Copy
public bool Coroutine.Done(bool force = false)
Calls Done on Coroutine with force and returns bool. Open the return contract below before using the result.
Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Parameters
forceParameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.
Returns: A Boolean result. The member description explains the condition being checked.
Copy
public Coroutine Coroutine.GetCopy(Coroutine cor)
Calls GetCopy on Coroutine with cor and returns Coroutine. Open the return contract below before using the result.
Parameters
corParameter type: CoroutineSpecifies cor.
Returns: The Coroutine result.
Copy
public IEnumerator Coroutine.GetEnumerator()
Returns enumerator.
Return type: IEnumeratorNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Returns: The IEnumerator result.
Copy
public bool Coroutine.MoveNext()
Moves next.
Return type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Returns: A Boolean result. The member description explains the condition being checked.
Copy
public void Coroutine.Pause(bool force = false)
Calls Pause on Coroutine with force. This overload has no return value.
Return type: voidNo return value.
Parameters
forceParameter type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies force. Optional; the default is shown in the signature.
Copy
public void Coroutine.Resume()
Calls Resume on Coroutine without arguments. This overload has no return value.
Return type: voidNo return value.
Copy
public void Coroutine.UpdateCondtion(YieldBase condition)
Updates condtion using the supplied arguments.
Return type: voidNo return value.
Parameters
conditionParameter type: YieldBaseSpecifies condition.
Copy
public void Coroutine.UpdateTicks(int tick)
Updates ticks using the supplied arguments.
Return type: voidNo return value.
Parameters
tickParameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies tick.
Copy
public IEnumerator Coroutine.Wait()
Calls Wait on Coroutine without arguments and returns IEnumerator. Open the return contract below before using the result.
Return type: IEnumeratorNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Returns: The IEnumerator result.
Copy
public Action Coroutine.Action { get; }
Reads action on Coroutine as Action. The exact type and accessors are shown below.
Value type: ActionNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public bool Coroutine.AutoResume { get; set; }
Reads or assigns auto resume on Coroutine as bool. The exact type and accessors are shown below.
Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public YieldBase Coroutine.Condition { get; private set; }
Reads or assigns condition on Coroutine as YieldBase. Open the value type below for its members and accepted values.
Copy
public bool Coroutine.DoWork { get; private set; }
Reads or assigns do work on Coroutine as bool. The exact type and accessors are shown below.
Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public bool Coroutine.IsDone { get; private set; }
Whether this coroutine is done.
Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public string Coroutine.Name { get; set; }
Reads or assigns name on Coroutine as string. The exact type and accessors are shown below.
Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public string Coroutine.Owner { get; private set; }
Reads or assigns owner on Coroutine as string. The exact type and accessors are shown below.
Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public CoroutinePriority Coroutine.Priority { get; set; }
Reads or assigns priority on Coroutine as CoroutinePriority. Open the value type below for its members and accepted values.
Value type: CoroutinePriority
Copy
public DateTime Coroutine.Started { get; set; }
Reads or assigns started on Coroutine as DateTime. The exact type and accessors are shown below.
Value type: DateTimeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public bool Coroutine.ThisIsSimple { get; }
Reads this is simple on Coroutine as bool. The exact type and accessors are shown below.
Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public long Coroutine.Ticks { get; private set; }
Reads or assigns ticks on Coroutine as long. The exact type and accessors are shown below.
Value type: longNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
TimeoutForAction Property Link ↗
Copy
public string Coroutine.TimeoutForAction { get; private set; }
Reads or assigns timeout for action on Coroutine as string. The exact type and accessors are shown below.
Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.