Click or drag to resize

BetterCoroutinesStop Method

Stops a running coroutine prematurely. This will stop any child coroutines as well.

Namespace:  Archon.SwissArmyLib.Coroutines
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static bool Stop(
	int id
)
Request Example View Source

Parameters

id
Type: SystemInt32
The id of the coroutine to stop.

Return Value

Type: Boolean
True if the coroutine was found and stopped, otherwise false.
See Also