Your own Horizon layouts
| What you want | How |
|---|---|
| Colours, fonts, sizes, sounds | The Theme data asset. |
| Entries, titles, logo, levels, credits, tabs, tips, custom settings | The Menu Config data asset. |
| Tweak one generated screen | A Blueprint child of the screen class. Implement On Default Layout Built; all the named widgets below are accessible. Select the child under Widget Classes in the Menu Config. |
| Replace a screen’s layout completely | A Widget Blueprint child of the screen class, designed in UMG with the widget names below. Select it under Widget Classes. |
Designer widget names
Section titled “Designer widget names”Child Widget Blueprints keep all their behaviour when their widgets use these names. Every one is optional, so a design only needs the parts it uses.
| Class | Widget names |
|---|---|
AMSMainMenuScreen |
BackgroundImage, LogoImage, TitleText, TitleAccent, SubtitleText, EntriesBox (Vertical Box), VersionText |
AMSPauseMenuScreen |
DimImage, Panel, TitleText, TitleAccent, EntriesBox |
AMSSettingsScreen |
BackgroundImage, TitleText, TabBox, Separator, SettingsList (Scroll Box), DescriptionPanel, DescriptionTitle, DescriptionText, ApplyButton, ResetButton, BackButton |
AMSCreditsScreen |
BackgroundImage, TitleText, CreditsScroll (Scroll Box), CreditsBox (Vertical Box), BackButton |
AMSConfirmDialog |
DimImage, Panel, TitleText, MessageText, ConfirmButton, CancelButton, AlternateButton |
AMSKeyCaptureDialog |
DimImage, Panel, TitleText, PromptText, MessageText |
AMSPressStartScreen |
BackgroundImage, LogoImage, TitleText, TitleAccent, SubtitleText, PromptText |
AMSButton |
Background (Border), AccentBar (Border), Label (Text) |
AMSSettingRow_* |
RowBackground, NameText, plus LeftButton / RightButton / ValueText / PipBox (options), Slider / SliderFill / ValueText (slider), PrimaryKeyButton / SecondaryKeyButton (key binding), ActionButton (action) |
AMSRootLayout |
GameLayer, GameMenuLayer, MenuLayer, ModalLayer (Common Activatable Widget Stacks) |
Options on every child screen
Section titled “Options on every child screen”- Apply Theme Styles: untick it if you styled the widget entirely in the designer.
- Close On Back: whether Back closes the screen. Override On Back Requested for your own handling.
- Animate In: play the theme’s fade and slide in animation.
Your own screens can derive from AMSScreen to get theming, Back handling, input hints and animation, and be opened with Push Screen or an Open Screen menu entry.
