void Start() { displaygameOverPopup = false; original_radius = gameObject.GetComponent <CircleCollider2D> ().radius; original_scale = transform.localScale; upperLimit_scale_x = original_scale.x + 0.5f; lowerLimit_scale_x = original_scale.x - 0.5f; label_score.fontSize = Mathf.FloorToInt((label_score.fontSize * Screen.dpi) / 360); label_scoreBest.fontSize = Mathf.FloorToInt((label_scoreBest.fontSize * Screen.dpi) / 340); sound_option = SaveLoadScript.Load_sound(); if (sound_option == 0) { sound_on_off = sound_off; BGSound.loop = false; if (isMusicPlaying()) { BGSound.Stop(); } } else { sound_on_off = sound_on; BGSound.loop = true; if (!isMusicPlaying()) { BGSound.Play(); } } var_bubble_generation_time = bubble_generation_time; var_player_power_hold_time = player_power_hold_time; var_player_shield_hold_time = player_shield_hold_time; Helper.show_power_time = false; Invoke("startGeneratingBubbles", bubble_Init_generation_time - bubble_generation_time); Debug.Log("Data saved: " + SaveLoadScript.Load()); noOfgamePlays = SaveLoadScript.Load_no_of_game_plays(); noOfgamePlays += 1; #if UNITY_ANDROID //StartAppWrapper.loadAd (); #endif }