Hi,
i have a custom c++ code that can use as blueprint class.
when I tried to set the value of skeletal mesh in editor, it works, but when i compiled it reset the value
here is my code
here is the header file
Here is the cppile
Hi,
i have a custom c++ code that can use as blueprint class.
when I tried to set the value of skeletal mesh in editor, it works, but when i compiled it reset the value
here is my code
here is the header file
Here is the cppile
I think in UE, class constructor is called after every compile. In your constructor you have:
SkeletalMesh(nullptr);
so maybe this is resetting the value.
Maybe just use:
USkeletalMesh* SkeletalMesh = nullptr;
and remove that line from constructor.