Include widgetcomponent

I need use widgetcomponent on actor in c++ but when I add #include “Components/WidgetComponent.h” I get error cannot open source file"Components/WidgetComponent.h"

Hi xhn,

You need to Also add UMG to your dependencies in your build.cs file.

Hope that helps. Cheers,

Cool thanks