I’ve been looking and I simply can’t find a way to create and add an Actor Component
from a Class
that extends Actor Component
. The reason I need this is I have a bunch of Status effects, and a single method that should handle attaching them to characters. I want this method to receive an Effect Class
, instantiate it and attach it to the Character Actor
. So far, the only thing I’ve found is that you can call custom methods for each existing Actor Component Class
. Is there really not a unifying method, like Spawn Actor from Class
for Actor
s?
I’m trying to solve a similar problem here.
Nope. I cannot.