Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Description
Called to defer loading a subobject to its top-level container object. Useful with the package override feature, where an object might not be saved in the same package as its outer, especially if the the top-level object does lazy loading of these objects.
| Name | ResolveSubobject |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
| Include Path | #include "UObject/Object.h" |
virtual bool ResolveSubobject
(
const TCHAR * SubObjectPath,
UObject *& OutObject,
bool bLoadIfExists
)
true if the object loaded or exists, depending on bLoadIfExists
Parameters
| Name | Remarks |
|---|---|
| SubObjectPath | object path to handle, relative to the current implementer |
| OutObject | receives the loaded object, or existing loaded object if bOnlyTestExistence is true and object is already loaded |
| bLoadIfExists | if true, load the object if it exists |