For a long time, I didn’t quite understand what is Time.deltaTime, and why we have to use it when we want to move an object smoothly. I had used it for many times, but never understood its meaning.
Today, after I had a big trouble when writing a script of the player’s operation, I decided to find out what it is. I wrote a coroutine function to detect the input of the players. However, sometime the input may be missed in the function, while being able to be detected in the Update() function. To loop the coroutine function I used the line, which seemed like the core of the problem: