void Update() { if (Input.GetKeyDown(KeyCode.P)) { SaveAndLoad.DeleteSaves(); } if (Input.GetKeyDown(KeyCode.O)) { SaveAndLoad.savedGame.lenght++; Debug.Log("Length : " + SaveAndLoad.savedGame.lenght); } }