public void Resume() { AdsManager.DestroyBanner(); isPaused = false; isGameOver = false; Time.timeScale = 1f; pauseMenu.SetActive(false); gameoverMenu.SetActive(false); }
public void Quit() { AdsManager.DestroyBanner(); SceneManager.LoadScene("StartScreen"); }
public void Restart() { AdsManager.DestroyBanner(); SceneManager.LoadScene("GamePlay"); }
private void OnDestroy() { AdsManager.DestroyBanner(bannerType); }