Exemplo n.º 1
0
    public void SelectHotCrossBuns()
    {
        // Has the player unlocked the song?
        if (SongProgressionScript.CurrentDifficultyUnlocked >= SongProgressionManagerScript.DifficultyState.Easy)
        {
            SFXController.GetComponent <SFXControllerScript>().SelectionButtonPressed();
            currentChoice = SongChoice.HotCrossBuns;
            PlaySongPreview(currentChoice);
        }
        else
        {
            Debug.Log("UIEvents.SelectHotCrossBuns(): Song not yet unlocked!");

            //insert functionality here
        }
    }
Exemplo n.º 2
0
    void PlaySongPreview(SongChoice songPreview)
    {
        switch (songPreview)
        {
        case SongChoice.Tutorial:
            //insert functionality here

            break;

        case SongChoice.HotCrossBuns:
            //insert functionality here

            break;

        case SongChoice.FurElise:
            //insert functionality here

            break;

        case SongChoice.CanonInD:
            //insert functionality here

            break;

        case SongChoice.Entertainer:
            //insert functionality here

            break;

        case SongChoice.MountainKing:
            //insert functionality here

            break;

        case SongChoice.Freeplay:
            //insert functionality here

            break;
        }
    }
Exemplo n.º 3
0
    void PlaySongPreview( SongChoice songPreview )
    {
        switch( songPreview )
        {
        case SongChoice.Tutorial:
            //insert functionality here

            break;
        case SongChoice.HotCrossBuns:
            //insert functionality here

            break;
        case SongChoice.FurElise:
            //insert functionality here

            break;
        case SongChoice.CanonInD:
            //insert functionality here

            break;
        case SongChoice.Entertainer:
            //insert functionality here

            break;
        case SongChoice.MountainKing:
            //insert functionality here

            break;
        case SongChoice.Freeplay:
            //insert functionality here

            break;
        }
    }
Exemplo n.º 4
0
    public void SelectTutorial()
    {
        // Has the player unlocked the song?
        if( SongProgressionScript.CurrentDifficultyUnlocked >= SongProgressionManagerScript.DifficultyState.Easy )
        {
            SFXController.GetComponent<SFXControllerScript>().SelectionButtonPressed();
            currentChoice = SongChoice.Tutorial;
            PlaySongPreview( currentChoice );
        }
        else
        {
            Debug.Log( "UIEvents.SelectTutorial(): Song not yet unlocked!" );

            //insert functionality here
        }
    }