Should we also be using TObjectPtr for more than just pointer declaration? Should we be using it everwhere, for example, return values. Replace this:
AActor* GetWeapon() const;
With this:
TObjectPtr<AActor> GetWeapon() const;
1 Like