Writing item class for game and i created struct with properties.
In item class i created regular sample of USTRUCT
class LOR2_API UItem : public UObject
{
GENERATED_BODY()
private:
FItemProperties m_properties;
}
And i need to make public function that will return a pointer to this variable. How could i do it, cuz TSharedPointer and regular pointers don’t work.