I can’t get the Menu scene to change to the main playing scene? It’s very peculiar.
Current script put onto an empty game object called TapToPlay. Help pls.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class TapToPlay : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()
{
{
if (Input.GetMouseButtonDown(0))
{
SceneManager.LoadScene("Main");
}
}
}
}