示例#1
0
    public void Resume()
    {
        AdsManager.DestroyBanner();

        isPaused   = false;
        isGameOver = false;

        Time.timeScale = 1f;
        pauseMenu.SetActive(false);
        gameoverMenu.SetActive(false);
    }
示例#2
0
 public void Quit()
 {
     AdsManager.DestroyBanner();
     SceneManager.LoadScene("StartScreen");
 }
示例#3
0
 public void Restart()
 {
     AdsManager.DestroyBanner();
     SceneManager.LoadScene("GamePlay");
 }
示例#4
0
 private void OnDestroy()
 {
     AdsManager.DestroyBanner(bannerType);
 }