Esempio n. 1
0
 private void Start()
 {
     Application.targetFrameRate = 300;
     currentLives         = PlayerPrefsController.GetTotalLives();
     explosiveBallEnabled = PlayerPrefsController.GetExplosiveBallEnabled();
     gameCanvas           = FindObjectOfType <GameCanvas>();
     gameCanvas.DisplayScore(currentScore);
     gameCanvas.DisplayLevel(currentLevel);
     gameCanvas.DisplayLives(currentLives);
 }
Esempio n. 2
0
 private void Start()
 {
     if (PlayerPrefsController.GetExplosiveBallEnabled() == 1)
     {
         EnableExplosiveBall();
     }
     else
     {
         return;
     }
 }