public void resetSave() { SaveFunctions.resetGame(); SaveFunctions.LoadGame(); togglePause(); SceneManager.LoadScene(HubStorage.currentHub); Time.timeScale = 1f; Time.fixedDeltaTime = Time.timeScale * 0.02f; }
public void resetGame() { SaveFunctions.resetGame(); }