unity scenemanager loadscene in onclick 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); }