Does declaring delegates require a (dummy) class?
I want to outsource dome delegate declarations to a different header file and include this file any other header file, where I need to use the delegate. But it does not compile saying the delegate is an unknown/unrecognized type. Currently, I need to add a dummy UCLASS to this delegates header file and a
How to reproduce the compiler error
Create a file
Include this file and use it in another class by adding the following property:
My current hotfix
I don't want to create a new class. And I heard that you dont need to (and that there are examples inside the engine code that proves this). So what am I doing wrong?
What if you don't create the UCLASS but leave the Delegates.generated.h include?
answered Apr 03 '17 at 07:23 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here