Example #1
0
    // Use this for initialization
    void Start()
    {
        //HSDM_Script = GameObject.FindGameObjectWithTag("High Score Display Manager").GetComponent<HighScoreDisplayManagerScript>();
        SoundManager_Script = GameObject.FindGameObjectWithTag("SoundManager").GetComponent <SoundManagerScript> ();

        //Original sprite before click
        playGamePanel.SetActive(false);
        topScorePanel.SetActive(false);
        creditsPanel.SetActive(false);

        Time.timeScale = 1.0f;
        CheckDifficultyLock();

        //Sounds manager Mute button work around and starting back ground music
        SoundManager_Script.GetMuteButton();
        SoundManager_Script.Play_BG_loop("bg1");
    }