public void GoToLevels() { mainMenuSoundManager.levels_Click = true; GoPlay go = Fader.GetComponent <GoPlay>(); go.OpenLevels(); }
private void HandleAdResult(ShowResult result) { switch (result) { case ShowResult.Finished: fader.OpenLevels(); break; case ShowResult.Skipped: fader.OpenLevels(); break; case ShowResult.Failed: Debug.Log("Ad failed to load! Check internet connection!"); break; } }