- Home /
Question by
garrilla · Sep 07, 2019 at 03:59 PM ·
androidscene-switchingquest
Reloading Scene - Android/Quest
I'm trying to reload a scene in an Android/Quest app.
I have a button on an Oculus DebugUIBuilder isntance
DebugUIBuilder.instance.AddButton("Reload Scene", ResetScene);
which calls the ResetScene function
void ResetScene()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
}
but triggering the button just quits the app
Any thoughts on how I might reload my scene?
Comment