public override void OnSuspending(IScreen next) { base.OnSuspending(next); buttons.State = ButtonSystemState.EnteringMode; this.FadeOut(FADE_OUT_DURATION, Easing.InSine); this.MoveTo(new Vector2(-800, 0), FADE_OUT_DURATION, Easing.InSine); sideFlashes.FadeOut(64, Easing.OutQuint); }
public override void OnSuspending(ScreenTransitionEvent e) { base.OnSuspending(e); Buttons.State = ButtonSystemState.EnteringMode; this.FadeOut(FADE_OUT_DURATION, Easing.InSine); buttonsContainer.MoveTo(new Vector2(-800, 0), FADE_OUT_DURATION, Easing.InSine); sideFlashes.FadeOut(64, Easing.OutQuint); }
protected override void OnSuspending(Screen next) { base.OnSuspending(next); const float length = 400; buttons.State = MenuState.EnteringMode; Content.FadeOut(length, EasingTypes.InSine); Content.MoveTo(new Vector2(-800, 0), length, EasingTypes.InSine); sideFlashes.FadeOut(length / 4, EasingTypes.OutQuint); }
public override void OnSuspending(IScreen next) { base.OnSuspending(next); const float length = 400; buttons.State = ButtonSystemState.EnteringMode; this.FadeOut(length, Easing.InSine); this.MoveTo(new Vector2(-800, 0), length, Easing.InSine); sideFlashes.FadeOut(64, Easing.OutQuint); }