Answer the question
In order to leave comments, you need to log in
Unity (C#) - How to make a delay?
What are the ways to make a delay in the code? For example: one action occurs, a timer (delay) is activated for 30 seconds, then certain actions occur, and after 30 seconds everything repeats.
Answer the question
In order to leave comments, you need to log in
Thread.Sleep(1000)
Task.Delay(1000).Wait();
awaitTask.Delay(1000);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question