UI Interaction

Button animations and input interception — motion-driven hover/select states and input channel management for focused UI canvases.

UI Interaction covers the two systems that handle player input at the UI layer: the enhanced button component that plays motion-based animations on hover and select, and the input interceptor that captures and routes input events while a canvas is focused.

For usage guides and setup examples, see The Basics: GS_UI.

 

Contents


Button

An enhanced button component that extends LyShine interactable behavior with motion-driven hover and select state animations. Attach alongside a UiButtonComponent and assign .uiam assets for hover, unhover, and select states.

ComponentPurpose
GS_ButtonComponentEnhanced button. Plays UiAnimationMotion assets on hover, unhover, and select events.

Button API


UI Input

An input interceptor component that captures and redirects input events for UI-specific handling, preventing input from propagating to gameplay systems while a UI canvas is focused.

Component / TypePurpose
GS_UIInputInterceptorComponentIntercepts configured input events and re-broadcasts them on UIInputNotificationBus.
GS_UIInputProfileData asset defining which input channels to intercept and how to route them.

UI Input API


See Also

For component references:

  • Page Navigation – Pages use the same UiAnimationMotion system for show/hide transitions
  • UI Animation – The motion asset system used by buttons and pages
  • UI Manager – Controls which canvas is focused, activating the input interceptor

For conceptual overviews and usage guides:


Get GS_UI

GS_UI — Explore this gem on the product page and add it to your project.