// Use this for initialization
    void Start()
    {
        // Read preferences
        SettingsParameters.InitializeSettings();

        if (SettingsParameters.settingPlayMusic == true)
        {
            myMusicController.startTheMusic();
        }
        else
        {
            myMusicController.stopTheMusic();
        }
    }
Exemple #2
0
    // Use this for initialization
    void Start()
    {
        // Read preferences
        SettingsParameters.InitializeSettings();

        // Start to play the TITLE music
        myMusicController.startTheMusic(GameMusicController.MUSIC_GAME);

        // Set the score
        SetTextValue();
    }
Exemple #3
0
    // Use this for initialization
    void Start()
    {
        // Read preferences
        SettingsParameters.InitializeSettings();

        // Reset score and levels
        myUniqueController.resetScore();
        myUniqueController.setCurrenLevel(0);

        // Start to play the TITLE music
        myMusicController.startTheMusic(GameMusicController.MUSIC_TITLE);
    }