Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/StaticFindObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
UObject * StaticFindObject
(
UClass * Class,
const UE::Core::FVersePath & VersePath
)
Remarks
Tries to find an object in memory, using a Verse path. Returns a pointer to the found object or nullptr if none could be found
Parameters
| Name | Description |
|---|---|
| VersePath | The path to the object to find. |
| ObjectPath | FName pair representing the outer package object and the inner top level object (asset) |
| ExactClass | Whether to require an exact match with the passed in class |