// 返回-跳转场景 public void Button_Exit() { time = time + PlayerPrefs.GetFloat("TimeChange"); PlayerPrefs.SetFloat("TimeChange", time); soundPlay.outAssembleScene(); SceneManager.LoadScene("MainSence"); }
// 返回-跳转场景 public void Button_Exit() { time = time + PlayerPrefs.GetFloat("TimeChange"); PlayerPrefs.SetFloat("TimeChange", time); soundPlay.outAssembleScene(); SceneManager.LoadScene("MainSence"); }