Pardon our dust! Docs for Yarn Spinner for Unity 3.2 and Yarn Spinner for Godot C# are on docs.yarnspinner.dev (the old docs site). Docs for Yarn Spinner for Unity 3.3 (pre-release, out ASAP), Yarn Spinner for Godot GDScript and Yarn Spinner for Unreal Engine (work in progress) are on /docs/ (the new docs site).

YarnTaskExtensions

public static class YarnTaskExtensions

Inherits from System.Object

#Methods

#WaitForCoroutine(MonoBehaviour, Coroutine)

public static YarnTask WaitForCoroutine(this MonoBehaviour runner, Coroutine coroutine)

Parameters

  • runnerMonoBehaviour
  • coroutineCoroutine

Returns YarnTask

#WaitForCoroutine(MonoBehaviour, IEnumerator)

Waits for the given coroutine to finish before continuing
public static YarnTask WaitForCoroutine(this MonoBehaviour runner, IEnumerator coroutine)

Parameters

  • runnerMonoBehaviour
    the host for the coroutine
  • coroutineIEnumerator
    the coroutine to wait upon

Returns YarnTask

Generated from Yarn Spinner for Unity 3.3.