So this is probably a stupid question but i’m stumped. So i tried to run this using Application.LoadLevel to load this but unity tell me that using that method is obsolete and said to use scenemanager.loadscene instead however i get the error.
CS0103 The name ‘SceneManager’ does not exist in the current context
i really and stumped and dont know what to do…
using UnityEngine;
using System.Collections;
public class ClickToChange : MonoBehaviour {
void OnMouseDown()
{
SceneManager.LoadScene("Menu_Level");
}
}