Please note that such a pointer is correct only in those events that
differ from init, restart, leave, they can not go at all on the
current one that you hoped. Example: In the initialization event, you
want access to the scene, which is initialized, but here you can make
a mistake - the pointer leads to the previous scene. You can access
the current through sceneManager.initable.
Link to the current scene.
Please note that such a pointer is correct only in those events that differ from init, restart, leave, they can not go at all on the current one that you hoped. Example: In the initialization event, you want access to the scene, which is initialized, but here you can make a mistake - the pointer leads to the previous scene. You can access the current through sceneManager.initable.