コード例 #1
0
        private void Start()
        {
            var async = CoroutineSequence.Start(this);

            async.Then(next =>
            {
                Hello();
                next();
            });
            async.WaitForSeconds(5);
            async.Then(next =>
            {
                World();
                next();
            }
                       );
        }
コード例 #2
0
        public static CoroutineSequence Start(MonoBehaviour owner)
        {
            var async = new CoroutineSequence(owner);

            return(async);
        }