public void NewGame(int index) { if (SaveLoadSystem.SaveExists("Inventory") || SaveLoadSystem.SaveExists("CollectedItems")) { SaveLoadSystem.DeleteAllSavedFiles(); } PlayerPrefs.DeleteAll(); loadingScreen.SetActive(true); mainMenuPanel.SetActive(false); loadingDelay = true; sceneIndex = index; continueGame.SetActive(false); backMusic.volume = 0f; }