public void ButtonPressed() { SaveMaster mast = GameObject.FindObjectOfType <SaveMaster>(); mast.LoadGame(path); }