Example function provided by the user:
.h
UFUNCTION(BlueprintCallable, meta = (AutoCreateRefTerm = "TestInt,TestName")) static void TestAutoRefs(const int32& TestInt = 2, const FName& TestName = "Test Default Name");
.cpp
void ATestActor::TestAutoRefs(const int32& TestInt, const FName& TestName) { UE_LOG(LogTemp, Warning, TEXT("%d"), TestInt); UE_LOG(LogTemp, Warning, TEXT("%s"), *TestName.ToString()); }
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-186994 in the post.
0 |
Component | UE - Gameplay - Blueprint Editor |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.6 |
Created | May 25, 2023 |
---|---|
Updated | Sep 30, 2024 |