Version: 2017.3

WaitUntilConstructor

Cambiar al Manual
public WaitUntil (Func<bool> predicate);

Parámetros

predicate Supplied delegate will be evaluated each frame after MonoBehaviour.Update and before MonoBehaviour.LateUpdate until delegate returns true.

Descripción

Initializes a yield instruction with a given delegate to be evaluated.