in the header only “custom” line is:
virtual void BeginPlay() OVERRIDE;
(it’s located just under GENERATED_UCLASS_BODY() )
in the .cpp custom lines are
void AChar::BeginPlay()
{
Super::BeginPlay(); /** maybe a bug? */
if (GEngine)
{
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Blue, TEXT("We are using the character!"));
}
}