void leaderBtnFunction() { if (PlayerPrefs.GetInt("hasSound") == 0) { temp.Play(); } PlayServices.OnShowLeaderBoard(); }