6b. Text Properties - hfjooste/UltimateMenu GitHub Wiki
Text properties can either be Static
or Dynamic
. Static is used whenever you don't want the text to change based on some conditions/logic. If you need the text to change (e.g displaying Continue instead of New Game if a save file is detected), then you need to use Dynamic Text
When you select Dynamic Text, you will be required to specify a Text ID. This ID needs to be unique across all Dynamic Text fields. The Menu Manager contains a function called Get Text
. You should override this (either in C++ or Blueprints). This function is called whenever your menu item is initialized and will give you the ID of the item being initialized. You can use this ID to perform your custom logic and then return the text you want to display