コード例 #1
0
 internal void Hide()
 {
     if (s_Score != null)
     {
         s_Score.FadeOut(0);
     }
     if (s_Accuracy != null)
     {
         s_Accuracy.FadeOut(0);
     }
 }
コード例 #2
0
        /*internal virtual void SlideOut()
         * {
         *  s_hitCombo.FadeOut(1000);
         *  s_hitCombo.MoveTo(s_hitCombo.StartPosition - new Vector2(80, 0), 1000, EasingTypes.Out);
         * }
         *
         * internal virtual void SlideIn()
         * {
         *  s_hitCombo.FadeIn(1000);
         *  s_hitCombo.MoveTo(s_hitCombo.StartPosition, 1000, EasingTypes.In);
         * }*/

        internal virtual void EnsureVisible()
        {
            if (displayComboMainCounter != 0 && s_hitCombo.Alpha == 0)
            {
                s_hitCombo.FadeIn(0);
            }
            else if (displayCombo == 0 && currentCombo == 0 && s_hitCombo.Alpha == 1)
            {
                s_hitCombo.FadeOut(120);
            }
        }
コード例 #3
0
        internal void Hide()
        {
            foreach (pSprite p in SpriteCollection)
            {
                p.FadeOut(0);
            }

            SpriteBackground.FadeOut(0);
            SpriteScore.FadeOut(0);
            SpriteName.FadeOut(0);
            SpriteRank.FadeOut(0);
        }
コード例 #4
0
 internal virtual void SlideOut()
 {
     s_hitCombo.FadeOut(1000);
     s_hitCombo.MoveTo(s_hitCombo.InitialPosition - new Vector2(80, 0), 1000, EasingTypes.In);
 }