Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FCookDependency
Description
Adds a dependency on the config values and class schema of a settings object. Gives an error and ignores the object if the object is not a config-driven settings object, such as the CDO of a config UClass or a perObjectConfig object.
SettingsObject dependencies are not directly persistable; all of the dependencies reported by the SettingsObject are copied onto the dependencies of the package declaring the SettingsObject dependency.
| Name | SettingsObject |
| 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 SettingsObject
(
const UObject * InObject
)