Greetings!
I’m attaching a static mesh to a socket of its parent via this little bit of code:
DUMMY.h
UPROPERTY(EditAnywhere, Category= "Combat")
TObjectPtr<UStaticMeshComponent> WeaponSlot;
DUMMY.cpp
WeaponSlot = CreateDefaultSubobject<UStaticMeshComponent>("Weapon");
WeaponSlot->SetupAttachment(GetMesh(),FName("HandSlot1"));
I now would like to expose the FName to the editor window to allow others to adjust the bone’s name from the editor. I somehow struggle to find information on how to go about exposing parameters of