Navigation
API > API/Editor > API/Editor/BlueprintEditorLibrary > API/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 |
static void ReplaceVariableReferences
&40;
UBlueprint &42; Blueprint,
const FName OldVarName,
const FName NewVarName
&41;
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 |