This code sets the widget class FOR the widget component.
If you are setting a pure BP widget without a c++ base class then maybe call a blueprint implemented function from within c++ for it to set it there? Otherwise keep it pure c++
This code sets the widget class FOR the widget component.
If you are setting a pure BP widget without a c++ base class then maybe call a blueprint implemented function from within c++ for it to set it there? Otherwise keep it pure c++