Native method

SGBANewAttributeVariableWidget::​

FindUniqueKismetName#

  • Declared in "Details/Slate/SGBANewAttributeVariableWidget.h"
private:
static FName FindUniqueKismetName(
const UBlueprint* InBlueprint,
const FString& InBaseName,
UStruct* InScope = nullptr
)

Wrapper on top of FBlueprintEditorUtils::FindUniqueKismetName

Abstracts away subtle difference between 5.0 and 5.1. Internal implementation changed to only suffix with _{Number} if original name is not valid (eg. existing variable name) while on 5.0 input name is always considered invalid.

Parameters#

  • const UBlueprint* InBlueprint
  • const FString& InBaseName
  • UStruct* InScope = nullptr