Remove unnecessary GameState class
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"FileVersion": 3,
|
"FileVersion": 3,
|
||||||
"EngineAssociation": "{5E90EF91-4077-C166-B36B-B3BF9C2102DB}",
|
"EngineAssociation": "5.2",
|
||||||
"Category": "",
|
"Category": "",
|
||||||
"Description": "",
|
"Description": "",
|
||||||
"Modules": [
|
"Modules": [
|
||||||
|
|||||||
@@ -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