First, I set a tag Component I called “BarrelRef”
Second, I have changed the Signature of “SetBarrelReference” cuz I don’t need any parameters. then I did the filtering I mentioned in my Q.
third, I did an If Condition to test my Code
What do you think?
About the Soft-Ref Q
2:01 When Ben said "Once it’s worked all that out, it’s going to then
raise an event in Blueprint. Why in Blueprint? Well, because
what’s actually finally going to happen is, we’re going to rotate the turret and we’re going to elevate the barrel,
and those two things, the turret and the barrel are
assets and they want to be soft-referenced in Blueprint, so that should we want
to make a change to those assets, well they’re not hard coded by path, by
file name, in the C++. So, we make all our asset references in Blueprint. "
I don’t understand this part
What is soft-reference?
How does it work?
Why we can’t reference the turret and the barrel in C++
I did some research but I found nothing. can you give me a resource/s to dive in?