private void Start() { var async = CoroutineSequence.Start(this); async.Then(next => { Hello(); next(); }); async.WaitForSeconds(5); async.Then(next => { World(); next(); } ); }
public static CoroutineSequence Start(MonoBehaviour owner) { var async = new CoroutineSequence(owner); return(async); }