Log in or register to post comments

Virtual button

November 26, 2019 - 12:55pm #1

Hello, I want to connect two scenes with virtual button. So when the button is triggered it opens a new scene. Does somebody know how to do it? I am new to Unity and Vuforia, and started learning c# recently, so any help would be good. Thank you!

Virtual button

December 2, 2019 - 6:38am #2

Hi,

We demo the use of Virtual Buttons in our Core Sample apps, available via the Unity store.

In the scene VirtualButtons we have a working example on how to use them. You could use the OnButtonPressed() method found inside the VirtualButtonEventHandler script to trigger the scene change. SceneManager.LoadScene(yourscenename) Also more info for the scene change is available here:https://docs.unity3d.com/ScriptReference/SceneManagement.SceneManager.LoadScene.html

Thank you.

Vuforia Engine Support

Log in or register to post comments