I'm working on a shooter game at the moment and I'm trying to spawn an
Actor Component for the weapon currently in use, in order to have less
Actors to keep track of.
The problem with this is that I can't easily switch out components on the fly, without making a separate function for each weapon.
Is there currently any way to spawn a component with blueprints from a class like you would do with an