Ejemplo n.º 1
0
        public void CoroutineService_WaitForNextTickAsync_ReturnTaskThatCompletesAfterNextTick()
        {
            var coroutineService = new CoroutineService();

            Task task = coroutineService.WaitForNextTickAsync();

            coroutineService.TickCoroutines();

            Assert.IsTrue(task.IsCompleted, "Task did not complete");
        }