ChangeScene
(Difference between revisions)
| Line 2: | Line 2: | ||
You have to load a scene to use this function. | You have to load a scene to use this function. | ||
| − | scene = | + | scene = getScene("nextScene") |
changeScene(scene) | changeScene(scene) | ||
Revision as of 12:22, 11 January 2013
Load a scene from an object scene. You have to load a scene to use this function.
scene = getScene("nextScene")
changeScene(scene)