Navigation
API > API/Runtime > API/Runtime/CoreUObject
Description
Create a universally unique name by combining a base name, a GUID and a timestamp. The object name returned is guaranteed not to locally and globally exist.
| Name | MakeUniversallyUniqueObjectName |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
FName MakeUniversallyUniqueObjectName
(
UObject * Outer,
FName InBaseName,
FUniversallyUniqueObjectNameGenerator const * Generator
)
name is the form BaseName_##, where ## a universally unique identifier making sure that name is universally unique.
Parameters
| Name | Remarks |
|---|---|
| Outer | the outer for the object that needs to be named |
| BaseName | optional base name to use when generating the globally unique object name. |
| Generator | optional generator session that can be passed to not use instead of the global one. |