Using smart pointers

Hello,
I know about smart pointers in c++ and see there is TUniquePtr implemented in Unreal
Is it better to use unique pointer for PressurePlate?
how can I use it?
does it affect UPROPERTY(EditAnywhere) ?

No because Unreal is managing that memory. Using TUniquePtr would be a mistake.

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

Privacy & Terms