I have been following the video, and trying to define ATriggerVolume* PressurePlate. The script cannot compile initially and threw some errors regarding that line.
The version of Unreal I used (4.16) only has #include “CoreMinimal.h”, which is to speed up the build time as mentioned by an Unreal staff. He mentioned that we should include specific header files when needed. Link to Unreal post
I managed to fix the compilation error by #include “Engine.h”, as is present in the version of Unreal used in the video. With some digging around, I also found out that #include “Engine/TriggerVolume.h” will work as a lighter weight solution, rather than including the whole engine.
I am wondering for future videos, would it be possible to specify which header files contain the Unreal macros/classes that we are using in the video? And may be a brief overview of Unreal engine header files.