I’m attempting to go through the Creating A Main Menu tutorial but I’m stuck with this error.
" error CS0234: The type or namespace name SceneManagment' does not exist in the namespace
UnityEngine’. Are you missing an assembly reference?"
My script
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagment;
public class LoadSceneOnClick : MonoBehaviour
{
public void LoadByIndex (int sceneIndex)
{
SceneManager.LoadScene (sceneIndex);
}
}