How to call a function in a TsubclassOf

But you need to spawn it to create data for it, you might also consider making actor component maybe