Answers for "load scene with button unity"

C#
4

load scene unity

using UnityEngine.SceneManagement


public class LoadScene : MonoBehavior
{
	public string sceneToLoad = "Level2";
    
    public void Start()
    {
    	SceneManager.LoadScene(sceneToLoad);
    }
}
Posted by: Guest on June-22-2020
3

unity how to load up a scene

SceneManager.LoadScene("scene_01");
Posted by: Guest on January-17-2020
0

load scene unity

using UnityEngine.SceneManagement;

    void Start()
    {
        SceneManager.LoadScene(/*the Scene number*/);
    }
Posted by: Guest on March-21-2021

C# Answers by Framework

Browse Popular Code Answers by Language