-
Notifications
You must be signed in to change notification settings - Fork 0
6c. Callbacks
Henry Jooste edited this page May 31, 2025
·
1 revision
Callbacks are used whenever you navigate back on the menu or when you select a button. The following callbacks are available:
| Callback | Description |
|---|---|
| None | No Callback |
| Pop Menu | Remove the active menu |
| Push Menu | Add a new menu (you also need to provide the menu name/ID) |
| Load Level | Load a new level (you also need to provide the level name) |
| Quit Game | Quit the game (no confirmation is displayed but can be manually set up through a popup menu) |
| Custom | Custom logic should be used in this callback |
When you use a Custom Callback, you will be required to specify a Callback ID. This ID needs to be unique across all Callbacks. The Menu Manager contains a function called Item Selected and Back Navigation Performed (the one used depends on how the callback is triggered). You should override this (either in C++ or Blueprints). You can use this ID to perform your custom logic