Assign Blueprint Class as a property

This is right, but I highly recommend using the following for memory optimization:
TSoftClassPtr<ABaseMeleeWeapon>

It works the same as TSubclassOf, but it lets you manage when to load it into memory.

All about Soft and Weak pointers | Tutorial

2 Likes