protected override void ApplyHitAnimations() { JudgementBody.ScaleTo(0.8f); JudgementBody.ScaleTo(1, 250, Easing.OutElastic); JudgementBody.Delay(FadeInDuration).ScaleTo(0.75f, 250); this.Delay(FadeInDuration).FadeOut(200); }
protected override void ApplyHitAnimations() { if (lighting != null) { JudgementBody.Delay(FadeInDuration).FadeOut(400); lighting.ScaleTo(0.8f).ScaleTo(1.2f, 600, Easing.Out); lighting.FadeIn(200).Then().Delay(200).FadeOut(1000); } JudgementText?.TransformSpacingTo(new Vector2(14, 0), 1800, Easing.OutQuint); base.ApplyHitAnimations(); }
protected override void LoadComplete() { base.LoadComplete(); this.FadeInFromZero(50, Easing.OutQuint); if (Result.IsHit) { JudgementBody.ScaleTo(0.8f); JudgementBody.ScaleTo(1, 250, Easing.OutElastic); JudgementBody.Delay(50).ScaleTo(0.75f, 250); this.Delay(50).FadeOut(200); } Expire(); }