// Use this for initialization private void Awake() { fadeButton.onClick.AddListener(() => { FadeSystem.Fade(fader); }); }