- scene
- The Scene to change to
- transition
- The transition to use for this scene change. A value of null causes the scene change to happen with no transition.
Convenience method to simply change to the given scene using the given transition.
Passing in null for the transition parameter will result in the scene changing without any transition running, and is equivalent to calling Scene.Exit on the scene root's current scene, followed by Scene.Enter on the scene specified by the scene parameter.