As I asked,
I made an custom struct by c++ coding, and I want to break the struct to members in the blueprint but there’s no nodes about that. what should I do more to make it?
“Automatic Make/Break in BP”
Thx a lot
Just as a note… I had to press stop in visual studios and then re-launch it. Hot reloading did not work when I made these changes.
Correct. Replicated in 4.16
Putting the method here because the link is broken:
Automatic Make/Break in BP
Marking the
USTRUCT
asBlueprintType
and addingEditAnywhere, BlueprintReadWrite, Category = "Your Category"
toUSTRUCT
properties causes UE4 to automatically createMake
andBreak
Blueprint functions, allowing to construct or extract data from the customUSTRUCT
.
Special thanks to Community member Iniside for pointing this out.