简体   繁体   中英

How do I pause/wait a script that is executing?

I am a Lua programmer but I decided to try out C# .

I have noticed that it does not have Wait() to whom I'm used to. Essentially I want to apply it for waiting a few seconds or so, and then do the next thing. How can I do this in C# ?

Thread.Sleep is your guy. More info

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM