|
|
|
@ -423,8 +423,8 @@ public class GamePlayManager : MonoBehaviour
|
|
|
|
|
gameOverPopup.Open();
|
|
|
|
|
confettiParticle.Play();
|
|
|
|
|
yield return new WaitForSeconds(0.5f);
|
|
|
|
|
if (!isTimerLevel)
|
|
|
|
|
{
|
|
|
|
|
// if (!isTimerLevel)
|
|
|
|
|
// {
|
|
|
|
|
if (GameManager.currentLevelGroup.CompletedLevel < GameManager.CurrentLevelNo)
|
|
|
|
|
{
|
|
|
|
|
int sl = GameManager.StarLevel;
|
|
|
|
@ -457,7 +457,7 @@ public class GamePlayManager : MonoBehaviour
|
|
|
|
|
GameScene.instance.UpdateUI();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// }
|
|
|
|
|
nextBtn.interactable = true;
|
|
|
|
|
GameManager.currentLevelGroup.SetLevelCompleted(GameManager.CurrentLevelNo, Time.time - startTime);
|
|
|
|
|
if (AdmobController.isInterAdAvailable)
|
|
|
|
|