// Fill out your copyright notice in the Description page of Project Settings. #include "MyLuprexGameStateBase.h" static void printq(const char* msg) { if (GEngine) GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Yellow, FString(msg)); } void AMyLuprexGameStateBase::Tick(float DeltaSeconds) { printq("Tick"); } void AMyLuprexGameStateBase::BeginPlay() { printq("AMyLuprexGameStateBase OK"); }