Reparent LevelKeyPickup to StaticMeshPickup
This commit is contained in:
parent
d87a31ab61
commit
e2e32e0092
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
|
|
||||||
#include "LevelKeyPickup.h"
|
#include "LevelKeyPickup.h"
|
||||||
|
|
||||||
#include "NakatomiGameInstance.h"
|
#include "NakatomiGameInstance.h"
|
||||||
#include "Kismet/GameplayStatics.h"
|
#include "Kismet/GameplayStatics.h"
|
||||||
|
|
||||||
|
|
|
@ -3,17 +3,20 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "CoreMinimal.h"
|
#include "CoreMinimal.h"
|
||||||
#include "Pickup.h"
|
#include "StaticMeshPickup.h"
|
||||||
#include "LevelKeyPickup.generated.h"
|
#include "LevelKeyPickup.generated.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
UCLASS()
|
UCLASS()
|
||||||
class NAKATOMI_API ALevelKeyPickup : public APickup
|
class NAKATOMI_API ALevelKeyPickup : public AStaticMeshPickup
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
|
public:
|
||||||
|
ALevelKeyPickup() { }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void BeginPlay() override;
|
virtual void BeginPlay() override;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue