Init(args)
Scripting Reference
Loading...
Searching...
No Matches
Sisus.Init.ICoroutinesExtensions Class Reference

Description

Extension methods for objects that implement ICoroutines.

Objects that are wrapped by a Wrapper<> component can start and stop coroutines on the wrapper component using these extension methods.

IWrapper-related extension methods for GameObject and Component.

Static Public Member Functions

static Coroutine StartCoroutine< T > ([DisallowNull] this T @this, [DisallowNull] IEnumerator coroutine)
 Starts the provided coroutine on this object.
 
static void StopCoroutine< TObject > ([DisallowNull]this TObject @this, [DisallowNull] IEnumerator coroutine)
 Stops the coroutine that is running on this object.
 
static void StopCoroutine< TObject > ([DisallowNull]this TObject @this, [DisallowNull] Coroutine coroutine)
 Stops the coroutine that is running on this object.
 
static void StopAllCoroutines< TObject > ([DisallowNull] this TObject @this)
 Stops all coroutines that are running on this object.