-
-
Notifications
You must be signed in to change notification settings - Fork 253
Add support for extracting the previous scene from the scene stack #2793
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
Conversation
|
API naming: what about |
I was considering something Maybe |
lgtm |
|
@rh101 |
|
Maybe update the comment of the |
As the comment indicates, This new method in this PR, At the moment you can go from current scene to new scene and apply a one of the |
Actually, the comment seems fine: It states exactly what happens:
Is there something about it that is confusing? |
Please have a short look on the other comments too. |
@rh101 |
All comments make sense. Is there something specific about any of the comments that is causing confusion? |
I'm not sure. I'm not a native English speaker. |
A test may not be useful or required for this, since it's a very straightforward function to use; it simply pulls the second-last scene from the list (the 2nd scene in the stack). If anyone feels that a test is required, then I can add one, but it may not be straightforward due to how the |
Thank you for clarifying that. |
|
Sorry I pressed the wrong button |
To avoid wasting resources, I cancelled the new run of the checks that were triggered by closing and re-opening this PR, since it's already completed in: https://github.com/axmolengine/axmol/pull/2793/checks?check_run_id=51005811514 |
Thanks. Sorry again. |
* release/2.x: Fix ios editbox keyboard handling (axmolengine#2795) Add support for extracting the previous scene from the scene stack (axmolengine#2793)
Describe your changes
This PR adds support for extracting the previous scene from the scene stack. This would allow transitions from the current scene to the previous scene, such as:
Issue ticket number and link
Checklist before requesting a review
For each PR
Add Copyright if it missed:
-
"Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."I have performed a self-review of my code.
Optional:
For core/new feature PR
Axmol 3.x ------------------------------------------------------------
For each 3.x PR