Changing scene on obj click code example
Example: Changing scene on obj click
void OnMouseDown ()
{
SceneManager.LoadScene("Level2");
}
// make sure to use your level name
void OnMouseDown ()
{
SceneManager.LoadScene("Level2");
}
// make sure to use your level name