Exemple #1
0
        /// <summary>
        ///     開始特效
        /// </summary>
        public void FadeIn(double time = 0)
        {
            _approachHitPicec.Delay(PreemptTime / 5 * 4).Then().FadeTo(1, PreemptTime / 5 * 4).ScaleTo(0.5f, PreemptTime / 5 * 1);

            return;

            _approachHitPicec.Delay(PreemptTime / 5 * 4);
            _approachHitPicec.FadeTo(1, PreemptTime / 5 * 4);
            //ApproachHitPicec.FadeIn(Math.Min(BaseHitObject.FadeInTime * 2, BaseHitObject.PreemptTime));
            _approachHitPicec.ScaleTo(0.5f, PreemptTime / 5 * 1);
        }
 /// <summary>
 ///     開始特效
 /// </summary>
 public override void FadeIn(double time = 0)
 {
     ApproachHitPicec.Delay(BaseHitObject.TIME_PREEMPT / 5 * 4);
     ApproachHitPicec.FadeTo(1, BaseHitObject.TIME_PREEMPT / 5 * 4);
     //ApproachHitPicec.FadeIn(Math.Min(BaseHitObject.TIME_FADEIN * 2, BaseHitObject.TIME_PREEMPT));
     ApproachHitPicec.ScaleTo(0.5f, BaseHitObject.TIME_PREEMPT / 5 * 1);
 }