static IEnumerator _Concat(IEnumerableAction action1, IEnumerableAction action2) { IEnumerator enumerator = action1.Run(); while (enumerator.MoveNext()) { yield return(enumerator.Current); } enumerator = action2.Run(); while (enumerator.MoveNext()) { yield return(enumerator.Current); } }
public Coroutine StartCoroutine(IEnumerableAction enumerableAction) { return(StartCoroutine(() => enumerableAction.Run())); }