/// <summary> /// This method handles clearing scene tranistion data and changing the scene. /// </summary> public void ExitAndClear() { controller.ClearData(); ClearLists(); // controller.SceneChange("play_list"); }
public void TurnOffAutoPlaylist() { PlayerPrefs.SetInt("AutoPlaylistOnOffKey", 0); autoPlaylistEnabledPanel.SetActive(false); confirmAutoplaylistOffModal.SetActive(false); ClearPlaylist(); addButton.interactable = true; passcodePanel.SetActive(true); controller.ClearData(); }
//Cancel Button / Success Modal public void ReturnToPreviousScene() { controller.ClearData(); //controller.SceneChange(PREVIOUS_SCENE); }