Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
Include |
#include "UObject/UObjectGlobals.h" |
Find an optional object.
Returns a pointer to the found object or nullptr if none could be found
Parameter |
Description |
---|---|
Class |
The to be found object's class |
InOuter |
Outer object to look inside. If this is ANY_PACKAGE it will search all in memory packages, if this is null then InName should start with a package name |
InName |
The object path to search for an object, relative to InOuter |
ExactClass |
Whether to require an exact match with the passed in class |
StaticFindObject()Tries to find an object in memory. This will handle fully qualified paths of the form /path/packagename.object:subobject and resolve references for you.