Problem with USTRUCT
I created a new header file called "QuestionData.h", added in to my project and put this code into it:
But Visual underlines #include, USTRUCT, GENERATED_USTRUCT_BODY(). Says that it cannot open QuestionData.generated.h, that identifier GENERATED_USTRUCT_BODY() is undefined and that USTRUCT is missing some explicit type (so 'int' was assumed). I think that I did everything right and this should work and when I open some Blueprint, create a variable there I should be able to choose the type of that variable to be my QuestionData structure (but I can't do that, there's no QuestionData structure in Blueprint). So what's wrong? I work on 4.1.0 version of UE4.
asked Jun 19 '14 at 02:55 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here