Exemplo n.º 1
0
 private bool onStopPreviewMusic(IglooMusicEvents.StopPreviewMusic evt)
 {
     if (currentState == ButtonState.Preview)
     {
         setToNormalState();
     }
     return(false);
 }
 private bool onStopPreviewMusic(IglooMusicEvents.StopPreviewMusic evt)
 {
     if (currentPreviewingTrackDefinition == null && previewMusicTrackInstance == null)
     {
         return(false);
     }
     currentPreviewingTrackDefinition = null;
     stopPreviewTrack();
     if (currentMusicTrackDefinition != null && currentMusicTrackDefinition.Id != 0)
     {
         currentlyLoadingTrack = currentMusicTrackDefinition.Id;
         playSong(currentMusicTrackDefinition.InternalName);
     }
     else
     {
         currentlyLoadingTrack = 0;
     }
     return(false);
 }
Exemplo n.º 3
0
 private bool onStopPreviewMusic(IglooMusicEvents.StopPreviewMusic evt)
 {
     SongAnimationAnimator.enabled      = true;
     SongGenreAnimationAnimator.enabled = true;
     return(false);
 }