// Use this for initialization void Start() { _sceneManager = transform.root.GetComponent<SceneManager>(); _soundManager = _sceneManager.GetComponent<SoundManager>(); }
private void onButtonClick() { SceneManager.LoadScene("Menu"); }