Jump to content

deltaTime global


Recommended Posts

To put it short: the idea comes from the Unity developers, because in Unity, there is a global variable that tells you how much time elapsed since the last screen update.

The reason for this: as far as I know, only timers can be used for repetitive functions, but too many timers are bad (or so I heard)

I know this can be scripted easily, but making it a built-in global eliminates the need to boilerplate-code it for every script or use exports.

-wow, even I get confused from my sentence structure :mrgreen:

Link to comment
  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...