tomlooman / EpicSurvivalGame

Third-person Survival Game for Unreal Engine (Sample Project)
https://www.tomlooman.com/unreal-engine-cpp-survival-sample-game/
MIT License
3.25k stars 1.18k forks source link

Add UPROPERTY to PreviousWeapon pointer #82

Closed walid-chekkouri closed 3 years ago

walid-chekkouri commented 3 years ago

In UE4 C++ Garbage Collection system it's important to mark raw pointers as UPROPERTY to be considered for garbage collection.