We’re trying to follow the steps in the c++ tutorial in order to understand how to code in Unreal4. However, when we put in the code from the tutorial-> https://docs.unrealengine.com/latest/INT/Programming/Basics/ClassCreation/CodeOnly/index.html, the engine refused to compile.
It gave us:
error C2039: ‘Brightness’ : is not a member of ‘UPointLightComponent’
error C2228: left of ‘.Add’ must have class/struct/union
error C2065: ‘Components’ : undeclared identifier
So I’m wondering what’s wrong here? Anyone else got it to work? My thx in advance for sharing your experience