Remove unnecessary GameState class
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
// 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");
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/GameStateBase.h"
|
||||
#include "MyLuprexGameStateBase.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class INTEGRATION_API AMyLuprexGameStateBase : public AGameStateBase
|
||||
{
|
||||
GENERATED_BODY()
|
||||
public:
|
||||
virtual void BeginPlay() override;
|
||||
virtual void Tick(float) override;
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user