Skip to main content
3 votes

In Unity, how can I get trigger enter/exit every frame when I change Time.timeScale?

The only way I know of to make OnTriggerStay2D get called just as often in real-time when you change the timescale would be to change the physics timestep when you change the timescale. Here's a link ...
Cameron Oltmann's user avatar
1 vote

Custom Update Function -OR- Multiple TimeScales

I'd have every class extending MonoBehaviour instead extend TimeBehaviour, where TimeBehaviour extends MonoBehaviour. It has a layer, such as environment, enemies, player, etc, that can be set from ...
Evorlor's user avatar
  • 5,803
1 vote

Custom Update Function -OR- Multiple TimeScales

I'd solve this by introducing a global TimeManager (probably a Singleton or a static class) whose job is to keep track of the appropriate time scale values for ...
DMGregory's user avatar
  • 135k

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