public void Show() { if (buttonClick == null) { audioSource.Play(); } else { audioSource.PlayOneShot(buttonClick); } if (showingMore) { highscoresScript.Top = 10; showButtonText.text = "Show More"; } else { highscoresScript.Top = 100; showButtonText.text = "Show Less"; } highscoresScript.GetHighScores(); showingMore = !showingMore; }