コード例 #1
0
        protected override void OnCountChange(ulong currentValue, ulong newValue)
        {
            ScheduledPopOutCurrentId++;

            if (newValue == 0)
            {
                DisplayedCountSpriteText.FadeOut();
            }

            base.OnCountChange(currentValue, newValue);
        }
コード例 #2
0
        protected override void OnCountRolling(ulong currentValue, ulong newValue)
        {
            ScheduledPopOutCurrentId++;

            // Hides displayed count if was increasing from 0 to 1 but didn't finish
            if (currentValue == 0 && newValue == 0)
            {
                DisplayedCountSpriteText.FadeOut(FadeOutDuration);
            }

            base.OnCountRolling(currentValue, newValue);
        }
コード例 #3
0
ファイル: TaikoComboCounter.cs プロジェクト: Jonasrems/osu
        protected override void OnDisplayedCountRolling(ulong currentValue, ulong newValue)
        {
            if (newValue == 0)
            {
                DisplayedCountSpriteText.FadeOut(FadeOutDuration);
            }
            else
            {
                DisplayedCountSpriteText.Show();
            }

            TransformNotAnimate(newValue);
        }
コード例 #4
0
        protected override void OnDisplayedCountRolling(ulong currentValue, ulong newValue)
        {
            if (newValue == 0)
            {
                DisplayedCountSpriteText.FadeOut(FadeOutDuration);
            }
            else
            {
                DisplayedCountSpriteText.Show();
            }

            if (CanPopOutWhileRolling)
            {
                TransformPopOutRolling(newValue);
            }
            else
            {
                TransformNoPopOut(newValue);
            }
        }