Good evening everyone!
I am a beginner in Unity and I’m trying to go from one scene to another but I can’t figure out how to do it.
using UnityEngine;
using UnityEngine.SceneManagement;
public class StartButton : MonoBehaviour
{
void Start()
{
}
public void LoadCharacterSelection()
{
SceneManager.LoadScene(“CharacterSelection”);
}
}
The name of the original scene is StartUp and the name of the scene I want to go to is called CharacterSelection. Please help as soon as possible as my deadline is in an hour.