-
Notifications
You must be signed in to change notification settings - Fork 3
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make it possible to add multiple "onEnter" and "onExit" scripts to a scene #43
Comments
Why? |
Eric beat me to it... what's the use case here? |
In morning ritual we had some code that needed to be run on all scenes(init) in addition to scene specific code for each scene's onEnter. This feature would let you repeat yourself less in situations like that. |
This commit would do it. |
I'm not convinced that this is necessary. If you need some base code in all enter scripts, plus some custom code, the base code could be pulled into a separate module, and |
No description provided.
The text was updated successfully, but these errors were encountered: