public void SaveStats(int cloudsTouched, float height) { ui.gameObject.SetActive(true); ui.SetTexts(player.CloudsTouched.ToString(), ((int)(height)).ToString()); StaticManager.netUtilities.UpdateScore(PlayerPrefs.GetString("username"), player.CloudsTouched, (int)(height)); Debug.Log("Savestats"); }