Answers for "unity button change scene"

C#
2

how to open new scene in unity click button

using UnityEngine.SceneManager;  void OnMouseUp() {     SceneManager.LoadScene("SceneName", LoadSceneMode.single); }
Posted by: Guest on November-30-2020
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

C# Answers by Framework

Browse Popular Code Answers by Language