protected override void OnMediaTypeChanged(MediaTypeChanged e) { if (e.MediaType == MediaType.Advert) { if (m_albumArt != null) { m_albumArt.sprite = AdvertSprite; } SetTrackInfo("Advert", "Unknown", "Unknown"); } }
/// <summary> /// Callback for when the type of media being played has changed /// </summary> /// <param name="e"></param> protected virtual void OnMediaTypeChanged(MediaTypeChanged e) { }