How to have UTextBlock as arguments of my c++ function

Hi there
My Goal is to make a test plugin which can get a FText and a UTextBlock as arguments and set the text to the text block.

Before bringing a UTextBlock as argument, everything goes well, but after that, compiler gives me some wired errors.

Here is my .h file:
image
And here is my .cpp file:

Here is compiler errors:

Thanks

Can you show them?

Add the UMG module as a dependency in the YOUR_MODULE_NAME.Build.cs file

Thanks a million

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.