IEnumerator IEQuitGameAndSave() { PlayerInfoManager.SavePlayerInfo(); yield return(new WaitForSeconds(1f)); Application.Quit(); }
public void CloseOptions() { PlayerInfoManager.SavePlayerInfo(); optionScreen.SetActive(false); optionButton.SetActive(true); }