Y
Hacker News
new
|
ask
|
show
|
jobs
by
kdheiwns
63 days ago
Unity does this. You get scaledDeltaTime (when you set game speed to 0, it'll return 0) and unscaledDeltaTime (returns time between frames ignoring game speed). Pauseable logic uses the former. Pause menus use the latter.