diff --git a/Source/Nakatomi/LevelKeyPickup.cpp b/Source/Nakatomi/LevelKeyPickup.cpp index 98d141d..447d980 100644 --- a/Source/Nakatomi/LevelKeyPickup.cpp +++ b/Source/Nakatomi/LevelKeyPickup.cpp @@ -2,7 +2,6 @@ #include "LevelKeyPickup.h" - #include "NakatomiGameInstance.h" #include "Kismet/GameplayStatics.h" diff --git a/Source/Nakatomi/LevelKeyPickup.h b/Source/Nakatomi/LevelKeyPickup.h index 9ddbaae..3d9b908 100644 --- a/Source/Nakatomi/LevelKeyPickup.h +++ b/Source/Nakatomi/LevelKeyPickup.h @@ -3,17 +3,20 @@ #pragma once #include "CoreMinimal.h" -#include "Pickup.h" +#include "StaticMeshPickup.h" #include "LevelKeyPickup.generated.h" /** * */ UCLASS() -class NAKATOMI_API ALevelKeyPickup : public APickup +class NAKATOMI_API ALevelKeyPickup : public AStaticMeshPickup { GENERATED_BODY() +public: + ALevelKeyPickup() { } + protected: virtual void BeginPlay() override;