Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
Include |
#include "UObject/UObjectGlobals.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
Create a unique name by combining a base name and an arbitrary number string. The object name returned is guaranteed not to exist.
name is the form BaseName_##, where ## is the number of objects of this type that have been created since the last time the class was garbage collected.
Parameter |
Description |
---|---|
Parent |
the outer for the object that needs to be named |
Class |
the class for the object |
BaseName |
optional base name to use when generating the unique object name; if not specified, the class's name is used |