timing package

timing contains no classes.

License

The timing package is marked as Compatible, which means any game can use it.

Utility functions

time = SCUtil.GetTime()
Returns a number, containing the number of seconds (with high precision) since roughly the first time GetTime was called.
time = SCUtil.GetWallTime()
Returns a number, containing the number of seconds (with high precision) since 12:00 A.M. (UTC) on January 1, 1970.
SCUtil.Sleep(amount)
Try to sleep for amount seconds with as much precision as possible.

Back to index