// FText: FString to FText
FString Str;
FText text = FText::FromString(Str);
// FText: FName to FText
FName name;
FText text = FText::FromName(name);
// FString: FText to FString
FText text;
FString str = text.ToString();
// FString: FName to FString
FName name;
FString str = name.ToString();
// FName: FString to FName
FString Str;
FName name = FName(*Str);
// FName: FText to FName
FText text;
FName name = FName(*text.ToString());
网友评论