Removes scenes from the scene stack until the specified scene is reached or all scenes have been removed from the stack, whichever comes first. The targetScene object may be either the SceneController for the target scene, the scene's DOM ID, or the scene's name. If targetScene is undefined, all scenes are popped. Popped scenes are not reactivated and there is no visual transition to signify they are being removed from the stack. This is an asynchronous operation.
Argument | Type | Description |
---|---|---|
targetScene | String|Object |
String: Name of target scene or DOM ID Object: SceneController for target scene |
returnValue | ||
options | Object |
0 Comments