Deprecated
Returning to a simpler method of registering navigation configs., is what you should use now.
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
Include |
#include "Framework/Application/SlateApplication.h" |
void SetNavigationConfigFactory
(
TFunction< TSharedRef< FNavigationConfig >()> InNavigationConfigFactory
)
Sets the navigation config factory. If you need to control navigation config dynamically, you should subclass FNavigationConfig to be dynamically adjustable to your needs.
You'll need to store per user state information yourself if you have any, like we do for repeats with the analog stick in FNavigationConfig::UserNavigationState, than Slate creating a new Navigation Config per user.