env:
develop env:
ue version 5.0.3
mac2021 m1
I want create the curve with cpp.
Create the variable UCurveFloat ,and initialized in constructor by “NewObject” method,
and then add key point to it.
In BeginPlay , The Keys of the UCurveFloat was overwrited. but i don’t know why ?
2)
3)
the debug info: