Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FCookDependency
Description
Create a dependency on the value of a cvar. The cvar will be read and its value (as a string) will be hashed into the oplog data If the cvar value is changed, the packages that depend on it will be invalidated
| Name | ConsoleVariable |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Cooker/CookDependency.h |
| Include Path | #include "Cooker/CookDependency.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Cooker/CookDependency.cpp |
static FCookDependency ConsoleVariable
(
FStringView VariableName
)