Unity 5.3 から「UnityEngine.WaitUntil」が追加されました
条件を満たさない間コルーチンの実行を中断できます
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { int frame; IEnumerator Start() { yield return new WaitUntil( () => frame >= 10 ); } void Update() { frame++; } }