Answers for "unity switch scenes with button"

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

Code answers related to "unity switch scenes with button"

C# Answers by Framework

Browse Popular Code Answers by Language