Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persist Timer manager between scenes #12

Open
Petethegoat opened this issue Jan 26, 2021 · 0 comments
Open

Persist Timer manager between scenes #12

Petethegoat opened this issue Jan 26, 2021 · 0 comments

Comments

@Petethegoat
Copy link
Contributor

In my current project I use timers to drive some nice presentation lerps and stuff while async loading the next scene.

This totally broke immediately because timers are cancelled on scene change, so I marked the initial manager as DontDestroyOnLoad and it works fine.
I think this is pretty useful functionality, so how would you feel about a pull req that implements this properly, with the manager manually cancelling all timers on scene changes, unless they're specifically marked to persist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant