public void SetActive(bool _active, bool _displayAd) { optionsPanel.SetActive(_active); PauseGame(_active); continueButton.DisplayAd = _displayAd; if (_displayAd) { StartCoroutine(PlayerHit.SetInvinsible()); } }