protected override void LoadComplete() { var presence = new DiscordRpc.RichPresence { details = "Test Game", state = "In-Game", largeImageKey = "logo" }; DiscordRpc.UpdatePresence(ref presence); bg.BlurTo(new Vector2(10)); }
protected override void InitializeBackgroundElements() { Background?.FadeColour(Color4.White, BACKGROUND_FADE_DURATION, Easing.OutQuint); Background?.BlurTo(background_blur, BACKGROUND_FADE_DURATION, Easing.OutQuint); }
public TransformSequence <Background> BlurTo(Vector2 sigma, double duration, Easing easing = Easing.None) => Background?.BlurTo(BlurTarget = sigma, duration, easing);