protected override bool OnHover(Framework.Input.InputState state) { colourContainer.ResizeTo(new Vector2(hover_width, 1f), hover_duration, EasingTypes.OutElastic); spriteText.TransformSpacingTo(new Vector2(3f, 0f), hover_duration, EasingTypes.OutElastic); glowContainer.FadeIn(glow_fade_duration, EasingTypes.Out); SampleHover?.Play(); return(true); }
protected override bool OnHover(InputState state) { SampleHover?.Play(); return(base.OnHover(state)); }