UPROPERTY usage in SFX Audio Clip

Hello,

Can someone explain more the usage and the purpose of UPROPERTY?

Why do we have to use it, without including EditAnywhere? what is the benefit, if the code is working already?

Best Regards,

So that it isn’t garbage collected.

See here:
https://docs.unrealengine.com/en-US/ProgrammingAndScripting/ProgrammingWithCPP/UnrealArchitecture/Objects/Optimizations/index.html#garbagecollection

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms