public void GoToMenu() { sequence = DOTween.Sequence(); sequence.Prepend((gm.gameState == GameState.PAUSED) ? gameUI.ToggleConfirmation() : gameUI.ToggleGameOver()); sequence.Append(gameUI.ToggleGame()); sequence.Append(menuUI.ToggleMenu()); sequence.Play(); banner.DestroyBannerAd(); gm.Reset(); }