Esempio n. 1
0
        public void CoroutineService_WaitForFixedTickAsync_ReturnTaskThatCompletesAfterFixedTick()
        {
            var coroutineService = new CoroutineService();

            Task task = coroutineService.WaitForFixedTickAsync();

            coroutineService.TickFixedCoroutines();

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