AddViewportWidgetContent(SNew gives error "'MakeTDecl': no matching overloaded function found"
I have minimal test project for a menu from the forum where the new class SMainMenu is derived from SCompoundWidget.
This is the header of the class:
My HUD class has a member variable MyUIWidget. In my HUD cpp I use it like this:
This gives me the error:
If I use instead
It seems to work. I get a GUI. Not really tested for further problems.
Now my questions:
asked Sep 07 '17 at 07:48 PM in C++ Programming
I found my answer in the "Strategy Game", the sample project we get for free.
answered Sep 08 '17 at 01:09 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here