Table of Contents

Method StartCoroutine

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

StartCoroutine(IEnumerator)

Starts a coroutine and returns a handle that can later be passed back to StopCoroutine(CoroutineHandle).

public static CoroutineHandle StartCoroutine(IEnumerator coroutine)

Parameters

coroutine IEnumerator

The enumerator to run.

Returns

CoroutineHandle

A Vista coroutine handle that wraps either an editor coroutine or a runtime coroutine, depending on the current execution environment.

Remarks

The backing Pinwheel.Vista.CoroutineManager instance is created lazily the first time this method is called.