void Awake() { backButton.onClick.RemoveAllListeners(); LoadScene ls = GameObject.Find("Script").GetComponent <LoadScene> (); backButton.onClick.AddListener(() => ls.LoadScene_OutNetMenu("MainMenu")); LoadingScene ls2 = GameObject.Find("Script").GetComponent <LoadingScene> (); backButton.onClick.AddListener(() => ls2.playSoundBack()); }