IEnumerator AutoSave() { yield return(new WaitForSeconds(30)); SaveLoadJson.SaveData(); StartCoroutine(AutoSave()); }
void GameOver() { SceneManager.LoadScene(0); SaveLoadJson.SaveData(); }
public void ClickTheButton() { SaveLoadJson.SaveData(); }