From d3f2c03f48dd2838c7fff270b9e482bcae0f2bc7 Mon Sep 17 00:00:00 2001 From: baz Date: Tue, 4 Jun 2024 00:42:21 +0100 Subject: [PATCH] Create TankGameInstance --- Content/Gamemodes/BP_TankGameinstance.uasset | 3 +++ Source/tank/TankGameInstance.cpp | 5 +++++ Source/tank/TankGameInstance.h | 17 +++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 Content/Gamemodes/BP_TankGameinstance.uasset create mode 100644 Source/tank/TankGameInstance.cpp create mode 100644 Source/tank/TankGameInstance.h diff --git a/Content/Gamemodes/BP_TankGameinstance.uasset b/Content/Gamemodes/BP_TankGameinstance.uasset new file mode 100644 index 0000000..ae2b17b --- /dev/null +++ b/Content/Gamemodes/BP_TankGameinstance.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7ca9dfbe32721a78267a2e7474f2616997a091ddb1be91ce9c0bd6b71fd2c77 +size 5804 diff --git a/Source/tank/TankGameInstance.cpp b/Source/tank/TankGameInstance.cpp new file mode 100644 index 0000000..9efb52d --- /dev/null +++ b/Source/tank/TankGameInstance.cpp @@ -0,0 +1,5 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "TankGameInstance.h" + diff --git a/Source/tank/TankGameInstance.h b/Source/tank/TankGameInstance.h new file mode 100644 index 0000000..2d0df11 --- /dev/null +++ b/Source/tank/TankGameInstance.h @@ -0,0 +1,17 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "Engine/GameInstance.h" +#include "TankGameInstance.generated.h" + +/** + * + */ +UCLASS() +class TANK_API UTankGameInstance : public UGameInstance +{ + GENERATED_BODY() + +};