Follow

Using LoadScene

In order to load another scene with stereo, you will need to keep the VRManager object.

- You can set an object not to be destroyed on load. This means this game object and his children will never be destroyed after changing level:
https://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html
- You can also load a scene with LoadSceneMode set to Additive. This will add to the scene loaded to the current scene.
https://docs.unity3d.com/ScriptReference/SceneManagement.SceneManager.LoadScene.html

You can find two examples in the link below that work with MiddleVR: http://www.middlevr.com/files/ChangeLevelExample.zip

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk