Navigation
API > API/Runtime > API/Runtime/UniversalObjectLocator > API/Runtime/UniversalObjectLocator/FUniversalObjectLocator
Description
Attempt to find the object this locator points to. Shorthand for Resolve(FResolveParams::SyncFind(Context)).AsObject().SyncGet().Object.
| Name | SyncFind |
| Type | function |
| Header File | /Engine/Source/Runtime/UniversalObjectLocator/Public/UniversalObjectLocator.h |
| Include Path | #include "UniversalObjectLocator.h" |
| Source | /Engine/Source/Runtime/UniversalObjectLocator/Private/UniversalObjectLocator.cpp |
UObject * SyncFind
(
UObject * Context
) const
The located object, or nullptr on failure
Parameters
| Name | Remarks |
|---|---|
| Context | (Optional) An optional context to use for finding the object - should match what was specified in Reset() or in construction |