unity switch to scene button code example
Example: how to open new scene in unity click button
using UnityEngine.SceneManager; void OnMouseUp() { SceneManager.LoadScene("SceneName", LoadSceneMode.single); }
using UnityEngine.SceneManager; void OnMouseUp() { SceneManager.LoadScene("SceneName", LoadSceneMode.single); }