1

The usual way to handle this it to separate the notion of "game time" from "real time". While the game is running, you increase your game time variable's value each frame / simulation step. Scripts that need a timestamp to work with will read the current value of that game time variable. When your game is paused, you disable the code that ...


Only top voted, non community-wiki answers of a minimum length are eligible