WaitUntilConstructor

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

Parámetros

predicateSupplied 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.