I want to know how I can make a Mesh “Variable” in C++
In Blueprints you can make a new Variable and select “StaticMesh” as type.
How do I do that in C++? I tried “TSubobjectPtr” (because that is the only thing that I could think off), but it doesn’t work. Because it needs to be BP callable, but Subobjects cannot be callable.
I am very new to Coding (especially UE4 code) Please help me