Time.deltaTime is a property, not a method

It may be a little confusing to some when the section is titled “Using Time.deltaTime()”, given that it is a property and not a method and thus has no need for the ().

Yup, often times you might see somebody multiply something by simple Time.deltaTime without the ()

Something * speed * Time.deltaTime

Just a common example, also time.deltatime is used to make aspects of your game frame rate independent, I’m assuming you knew that though

Nice point to bring up!

And yes it could be confusing, but I just tend to ignore the ()

Privacy & Terms