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 } }
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; } }
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; } }
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 } }