Module |
|
Header |
/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include |
#include "NavigationSystem.h" |
Source |
/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
static void ConfigureAsStatic()
Use this function to signal the NavigationSystem it doesn't need to store any navigation-generation-related data at game runtime, because nothing is going to use it anyway. This will short-circuit all code related to navmesh rebuilding, so use it only if you have fully static navigation in your game. Note: this is not a runtime switch. Call it before any actual game starts.