An Unreal Engine 5 plugin that provides a circular carousel/banner widget with infinite loop support.
- Infinite loop carousel
- Horizontal and vertical directions
- Touch/mouse drag support with inertia
- Snap animation
- Auto-play with hover pause
- Indicator support (dots or text)
- Full Blueprint support
- Unreal Engine 5.0+
- Clone or download this repository
- Copy the
GameBannerfolder to your project'sPluginsdirectory - Restart Unreal Editor
- Enable the plugin in Edit > Plugins > UI > GameBanner
- Create a UserWidget blueprint with parent class
UGameBannerWidget - Add a Panel widget named
GameBannerPanel(CanvasPanel recommended) - (Optional) Add
Button_PrevandButton_Nextbuttons - (Optional) Add
IndicatorPanelcontainer for indicators - Set
GameBannerDataand callInitializeGameBannerin blueprint
// Create banner data
UGameBannerData* Data = NewObject<UGameBannerData>();
// Add items
FGameBannerItem Item1;
Item1.WidgetClass = MyWidgetClass; // Your custom widget
Item1.Texture = MyTexture; // Or use texture directly
Data->AddItem(Item1);
// Initialize
GameBannerWidget->InitializeGameBanner(Data);| Property | Type | Description |
|---|---|---|
| Direction | EGameBannerDirection | Horizontal or Vertical |
| ItemSpacing | float | Spacing between items |
| ItemFixedSize | FVector2D | Size of each item |
| bInfiniteLoop | bool | Enable infinite scrolling |
| bAutoCenter | bool | Auto-center items |
| TransitionDuration | float | Animation duration |
| bAutoPlayEnabled | bool | Enable auto-play |
| AutoPlayInterval | float | Time between slides |
InitializeGameBanner(Data)- Initialize with dataGoToPage(Index)- Jump to specific pagePreviousPage()/NextPage()- NavigationStartAutoPlay()/StopAutoPlay()- Control auto-playGetCurrentIndex()- Get current page index
OnIndexChanged- Fired when page changes
MIT License - see LICENSE