public void ButtonPressed(string path) { savedAt = Time.time; //print(savedAt); path = path.ToLower(); SaveMaster mast = GameObject.FindObjectOfType <SaveMaster>(); mast.SaveGame(path); }