Пример #1
0
            public void OnAnimationCancel(Animator animation)
            {
                try
                {
                    if (AnimationType == MusicBar.AnimationTypeShow)
                    {
                        MusicBar.IsShow = true;
                        MusicBar.IsHide = false;
                        MusicBar.MMusicBarAnimationChangeListener?.OnShowAnimationEnd();
                    }
                    else
                    {
                        MusicBar.IsHide = true;
                        MusicBar.IsShow = false;
                        MusicBar.MMusicBarAnimationChangeListener?.OnHideAnimationEnd();
                    }

                    MusicBar.ClearBarAnimator();
                }
                catch (Exception e)
                {
                    Methods.DisplayReportResultTrack(e);
                }
            }
Пример #2
0
            public void OnAnimationCancel(Animator animation)
            {
                try
                {
                    if (AnimationType == MusicBar.AnimationTypeShow)
                    {
                        MusicBar.IsShow = true;
                        MusicBar.IsHide = false;
                        MusicBar.MMusicBarAnimationChangeListener?.OnShowAnimationEnd();
                    }
                    else
                    {
                        MusicBar.IsHide = true;
                        MusicBar.IsShow = false;
                        MusicBar.MMusicBarAnimationChangeListener?.OnHideAnimationEnd();
                    }

                    MusicBar.ClearBarAnimator();
                }
                catch (Exception e)
                {
                    Console.WriteLine(e);
                }
            }