No3371 / DevBlog

0 stars 0 forks source link

Unscaled Time script which respect Unity Editor Pausing #1

Closed No3371 closed 5 years ago

No3371 commented 5 years ago

Why

When working on some Time-Freezing gameplay, I found that Unity does not provide any Time member for "actual time length in play mode". All the provided Time members basically based on previous frame and don't care about Play Mode Pause State, which is a pain in the neck when you want to test your Time code in Play Mode.

No3371 commented 5 years ago

https://github.com/No3371/Unity_EditorSafeUnscaledTime