Hello, I am a beginner in UE4 and currently following the official C++ tutorial: Player Input and Pawns. The problem is when I call:
InputComponent->BindAction("Grow", IE_Pressed, this, &AMyPawn::StartGrowing);
There is an annoying squiggle under InputComponent, but I can successfully compile the code through UE4 editor.
It seems that this problem doesn’t affect compilation and execution, but how could I remove these squiggles?
I assume that this problem happens because the current file has no idea about the class UInputComponent.
Do I need to write something else in the code or do more setting in my IDE or UE4 editor?
My Visual Studio version is 2015, and my Unreal version is 4.16.
Here is a screenshot of these annoying squiggles.