The difference between time and deltatime?

Hey guys, I’m a Unity newbie and has just started using unity :slight_smile:

and I was wondering, what is the difference between Time.time and Time.deltaTime?

could you also provide me with some examples, possibly?

thanks :slight_smile:

2 Answers

2

As a newbie, you should familiarize yourself with the documentation, which is excellent and contains many examples. For example: Unity - Scripting API: Time.deltaTime

Thanks! still, I think I just need to try more to feel its difference by skin though :)

–

Time.deltaTime is the time in seconds it took unity to proccess last frame
Time.time its the time that certain frame has started since the start of the game.

yep! just what I needed! thanks ^^

–