public void RestartPressed() { if (Hide()) { UIManager.Gameplay.Show(); AdManager.ShowInterstitial(); Balls.Restart(); } }
public void OnSpinPressed() { if (!Wheel.Spining) { #if !UNITY_EDITOR AdManager.ShowRewarded(); #else Spin(); #endif } }
public override bool Show(float delay = 0f) { UIManager.ClearMessage(); if (base.Show(delay)) { AdManager.RequestRewardedAd(); Title.gameObject.SetActive(true); Title.Show(ShowDuration); return(true); } return(false); }
private bool loadPuzzle(Level levelProfile) { Active = true; init(); StopAllCoroutines(); if (WasGameOver) { AdManager.ShowInterstitial(); WasGameOver = false; } StartCoroutine(ResetBallsRoutine(levelProfile)); UIManager.Gameplay.ResetScore(); return(true); }