C# Class CielaSpike.ThreadNinjaMonoBehaviourExtensions

Show file Open project: DiUS/3DiUS

Public Methods

Method Description
StartCoroutineAsync ( this behaviour, IEnumerator routine ) : Coroutine

Start a co-routine on a background thread.

StartCoroutineAsync ( this behaviour, IEnumerator routine, Task &task ) : Coroutine

Start a co-routine on a background thread.

Method Details

StartCoroutineAsync() public static method

Start a co-routine on a background thread.
public static StartCoroutineAsync ( this behaviour, IEnumerator routine ) : Coroutine
behaviour this
routine IEnumerator
return UnityEngine.Coroutine

StartCoroutineAsync() public static method

Start a co-routine on a background thread.
public static StartCoroutineAsync ( this behaviour, IEnumerator routine, Task &task ) : Coroutine
behaviour this
routine IEnumerator
task Task Gets a task object with more control on the background thread.
return UnityEngine.Coroutine