24 lines
594 B
C++
Executable file
24 lines
594 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "GenerationItem.h"
|
|
#include "Templates/SubclassOf.h"
|
|
#include "SpawnActorGenerationItem.generated.h"
|
|
|
|
class AActor;
|
|
class UBoxComponent;
|
|
|
|
UCLASS(Blueprintable)
|
|
class ASpawnActorGenerationItem : public AGenerationItem {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TSubclassOf<AActor> ActorToSpawn;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UBoxComponent* Box;
|
|
|
|
public:
|
|
ASpawnActorGenerationItem();
|
|
};
|
|
|