Skip to main content

LuaBehaviour.StopCoroutine(Coroutine routine)

Stops the coroutine reference by the Coroutine Object.

Parameters:

NameTypeDescription
routineCoroutineReference to the coroutine reference, returned by StartCoroutine()

Usage

---@type LuaBehaviour
local luabehaviour;

---@type Coroutine
local routine;


luabehaviour.StopCoroutine(routine)