Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Kismet2/BlueprintEditorUtils.h |
Include |
#include "Kismet2/BlueprintEditorUtils.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/Kismet2/BlueprintEditorUtils.cpp |
static FName DuplicateVariable
(
UBlueprint * InBlueprint,
const UStruct * InScope,
FName InVariableToDuplicate
)
Duplicates a variable given its name and Blueprint
Returns the name of the new variable or NAME_None if failed to duplicate
Parameter |
Description |
---|---|
InBlueprint |
The Blueprint the variable can be found in Local variable's scope |
InVariableToDuplicate |
Variable name to be found and duplicated |