Examples
Open-and-copy Blueprints that show how a game uses what the settings menu sets up: a small example map with six stations, and a catalog of every game-facing node. They live in the plugin's own content, so nothing is added to your project and none of it ends up in your game unless you reference it.
Where they are
In the Content Browser, open Settings (top right) and tick Show Plugin Content, and Show Engine Content too when the plugin came from Fab (Fab installs it in the engine), then open Neo Settings Content > Examples (/). The welcome window, shown the first time the editor opens your project with the plugin, does it for you: Show the examples selects the folder, Open the example map opens the map.
| Asset | What it is |
|---|---|
L_ | The example map. Open it and press Play: your project's own pawn walks it (a Third Person project's character, say), as the map sets no game mode of its own. |
BP_ | Your own keys for the menus: Tab opens the settings menu, P the pause menu, Y a Yes/No dialog whose answer comes back as a toast. |
BP_ | A turning cube that stops while Reduce Motion is on. |
BP_ | A value that follows the Subtitles setting. |
BP_ | An optional setting (Head Bob), shown once your project turns it on. |
BP_ | A menu item of your own: On Menu Event shows its name in a toast. |
BP_ | A setting of your own (gameplay.), shown once your project declares it. |
Catalog/ | Every game-facing node, in a colored box per theme. Hover a node to read what it does. |
Input/ | The examples' Input Actions and their Input Mapping Context (Tab, P, Y). |
Level/ | The logo on the map's wall: its texture and material. |
Each example Blueprint is commented box by box. Open its Event Graph to read it.
The pattern of the setting examples
Stations 2, 3, 4 and 6 read a setting the same way:
- When the actor starts, bind On Setting Changed of the Neo Settings Subsystem (Get Engine Subsystem). It fires for every setting a player changes, from the menu or from your code.
- In the event, compare the id that changed with the setting's id, and act only on that one.
- Read the setting. Get Setting Info gives its label and its value as text; its Id is empty when the project has no such setting. Get Setting Bool (or Float, String) gives the value itself.
The setting's id comes from a SettingId variable. Typed straight into a node's pin, an optional setting your project has not turned on would make the Blueprint warn at compile time (HSP212); a variable leaves that check to your own Blueprints.
To make station 4 show a value, turn Head Bob on: Project Settings > Neo Settings > Content > Enabled Optional Settings. For station 6, add gameplay. in Content > Custom Settings, Kind Slider (Catalog). For station 5, add an item with the Event action in Menus > Extra Main Menu Items (Menus and Flow), then choose it in the main menu.
Copy one into your game
Select the nodes of a comment box, copy them (Ctrl+C) and paste them (Ctrl+V) into a Blueprint of your own: your player controller, your character or your HUD. Pasted nodes keep their links. Point the Input Action events at your own actions, or keep the example's Mapping Context while you try them.
BP_ adds its own Mapping Context when it starts. Your game usually adds its contexts once, in its player controller.
The catalog
Catalog/ holds every node of the Neo Settings Library a game uses, the two dialog nodes (Show Confirm Dialog, Show Choice Dialog) and the events of the Neo Settings Player Subsystem, the Neo Menu Subsystem and the Neo Settings Subsystem, in a colored box per theme: settings, menus, dialogs and toasts, backup, one setting in detail, button prompts, the screen, the loading screen, texts and style. A theme's events come under its functions, each bound as you would bind it: the subsystem's getter on the left, the bind, and its custom event below. Hover a node to read what it does. Nothing in the catalog runs: it is placed in no level, and its nodes are not wired into a flow.
The widget, presenter and storage classes have nodes of their own for building your own UI: see Your Own UI, Presenters and CommonUI and Saving and JSON. The API Reference lists every node.
Something not as described? Every code the editor shows has its own entry in Troubleshooting.