unity button onclick new scene 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); }