diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini index cd05412..215ab22 100644 --- a/Config/DefaultEngine.ini +++ b/Config/DefaultEngine.ini @@ -4,6 +4,7 @@ GameDefaultMap=/Game/Levels/TestLevel.TestLevel GlobalDefaultGameMode=/Game/Player/DefaultGamemode.DefaultGamemode_C EditorStartupMap=/Game/Levels/TestLevel.TestLevel +GameInstanceClass=/Game/Blueprints/MainGameInstance.MainGameInstance_C [/Script/WindowsTargetPlatform.WindowsTargetSettings] DefaultGraphicsRHI=DefaultGraphicsRHI_DX12 diff --git a/Content/Blueprints/MainGameInstance.uasset b/Content/Blueprints/MainGameInstance.uasset new file mode 100644 index 0000000..ab96963 --- /dev/null +++ b/Content/Blueprints/MainGameInstance.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2340b56e8d03d68a4c187f51bcedadbaa05b1c6f2c7d838536cf22beaab8c1d +size 5770 diff --git a/Source/Nakatomi/NakatomiGameInstance.cpp b/Source/Nakatomi/NakatomiGameInstance.cpp new file mode 100644 index 0000000..707e561 --- /dev/null +++ b/Source/Nakatomi/NakatomiGameInstance.cpp @@ -0,0 +1,5 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "NakatomiGameInstance.h" + diff --git a/Source/Nakatomi/NakatomiGameInstance.h b/Source/Nakatomi/NakatomiGameInstance.h new file mode 100644 index 0000000..273120b --- /dev/null +++ b/Source/Nakatomi/NakatomiGameInstance.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 "NakatomiGameInstance.generated.h" + +/** + * + */ +UCLASS() +class NAKATOMI_API UNakatomiGameInstance : public UGameInstance +{ + GENERATED_BODY() + +};