21 lines
611 B
C++
21 lines
611 B
C++
// Copyright 2016 Mookie. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "ActorFactories/ActorFactory.h"
|
|
#include "EBWeaponConfiguration.h"
|
|
#include "EBGunActorFactory.generated.h"
|
|
|
|
UCLASS()
|
|
class EASYBALLISTICSEDITOR_API UEBGunActorFactory : public UActorFactory
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UEBGunActorFactory();
|
|
|
|
// UActorFactory interface
|
|
virtual bool CanCreateActorFrom(const FAssetData& AssetData, FText& OutErrorMsg) override;
|
|
virtual AActor* SpawnActor(UObject* InAsset, ULevel* InLevel, const FTransform& InTransform, const FActorSpawnParameters& InSpawnParams) override;
|
|
};
|