Click or drag to resize

BetterCoroutinesStart Method (IEnumerator, UpdateLoop)

Starts a new coroutine.

Namespace:  Archon.SwissArmyLib.Coroutines
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static int Start(
	IEnumerator enumerator,
	UpdateLoop updateLoop = UpdateLoop.Update
)
Request Example View Source

Parameters

enumerator
Type: System.CollectionsIEnumerator
updateLoop (Optional)
Type: Archon.SwissArmyLib.UtilsUpdateLoop
Which update loop should the coroutine be part of?

Return Value

Type: Int32
The id of the coroutine.
See Also