Answers for "How to switch scenes in Unity."

C#
2

how to switch scenes in unity

using System.Collections; 
using System.Collections.Generic; 
using UnityEngine; 
using UnityEngine.SceneManagement;

//Load based on name of scene
public class SceneScript {
  public void ChangeScene(string scene = "") {
    SceneManager.LoadScene(sceneName:"scenes Name");
  }
}
Posted by: Guest on March-15-2020
2

how to change scenes in unity

SceneManager.LoadScene(scenename);
Posted by: Guest on May-27-2020

Code answers related to "How to switch scenes in Unity."

C# Answers by Framework

Browse Popular Code Answers by Language