Skip to content

Reloading a scene as a trial in Unity #156

Discussion options

You must be logged in to vote

Hey!

Probably the easiest way for you is to reload the scene. When you reload the scene and you want to keep the UXF Session, you can enable "Don't destroy on load new scene" and "Set as main instance"

https://github.com/immersivecognition/unity-experiment-framework/wiki/Multi-scene-experiments

If you have things like trackers, you will need to make those persist the reload too DontDestroyOnLoad

https://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BearsBeetsBattlestarGalactica
Comment options

Answer selected by BearsBeetsBattlestarGalactica
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants