Yup, This is why I was asking about including relevant classes. You are inheriting from Actor. GameplayStatics is included in Pawn.cpp and since Character Inherits from Pawn, it has access to it.
Yup, This is why I was asking about including relevant classes. You are inheriting from Actor. GameplayStatics is included in Pawn.cpp and since Character Inherits from Pawn, it has access to it.