How to use BP defined class in c++ function declaration?

If you can, I would make a variable in header file, make it BlueprintReadWrite and set it in blueprint before calling a c++ function.

1 Like