Answers for "change scene on button click with unity"

C#
1

how to change scenes with button press in unity c#

using UnityEngine;
using UnityEngine.SceneManagement;

public class whatever : MonoBehaviour	

public void LoadScene(string SceneName)
{
  SceneManager.LoadScene(SceneName);
}
Posted by: Guest on July-05-2021
0

Changing scene on obj click

void OnMouseDown ()
      {
          SceneManager.LoadScene("Level2");
      }
// make sure to use your level name
Posted by: Guest on May-10-2020

Code answers related to "change scene on button click with unity"

C# Answers by Framework

Browse Popular Code Answers by Language