I’m currently working on a VR Game for android, and though I have tried for days to find the solution for this issue, I still can’t figure it out. Therefore, I am here to ask you for help in this matter.
My UI buttons seem to work perfectly in the Editor, but once I export it, they simply refuse to be clicked (doesn’t even highlight). I have absolutley no clue as to what may be causing this, any help would be appericiated.
My Code:
public void PlayGame()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
}
public void ExitGame()
{
Application.Quit();
Debug.Log("Game Terminated");
}
}
Thank you.,I’m working on a VR game, and I’m using google cardboard for it, I’ve got one problem though. My UI buttons work in the editor, but not when I export the project to my phone.
My code:
public void PlayGame()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex +
1);
}
public void ExitGame()
{
Application.Quit();
Debug.Log("Game Terminated");
}
My question to you, faithfull helpers on the unity questions, what may be causing this, and what solutions are available?
I’m sincerely gratefull for any help I can get, thank you.