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