Navigation
Unreal Engine C++ API Reference > Editor > BlueprintEditorLibrary > UBlueprintEditorLibrary
References
Module | BlueprintEditorLibrary |
Header | /Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h |
Include | #include "BlueprintEditorLibrary.h" |
Source | /Engine/Source/Editor/BlueprintEditorLibrary/Private/BlueprintEditorLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Blueprint Upgrade Tools")
static void ReplaceVariableReferences
(
UBlueprint * Blueprint,
const FName OldVarName,
const FName NewVarName
)
Remarks
Replace any references of variables with the OldVarName to references of those with the NewVarName if possible
Parameters
Name | Description |
---|---|
Blueprint | Blueprint to replace the variable references on |
OldVarName | The variable you want replaced |
NewVarName | The new variable that will be used in the old one's place |