By Virevine
on Thu, 09/03/2020 - 09:03
I really need help for my project. i'm building an AR app using unity and vuforia, but i'm stuck on one problem. i have scene1 which have UI objects that will explain imagetarget1's model and scene2 with explanation for imagetarget2's model. I want my app to load/switch to certain scene when certain imagetarget is tracked. Like if imagetarget1 is tracked then it will load scene1, but if imagetarget2 is the one getting tracked the it will load scene2. How do i achieve this? thank you.
Hi,
Hi,
you can write a script with a function like this:
public void ChangeScene(string scenename) { SceneManager.LoadScene(scenename); }