21 lines
613 B
C++
21 lines
613 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
#include "AgrarianEditorAutomationLibrary.generated.h"
|
|
|
|
/**
|
|
* Editor automation helpers used by Python setup scripts.
|
|
*/
|
|
UCLASS()
|
|
class AGRARIANGAME_API UAgrarianEditorAutomationLibrary : public UBlueprintFunctionLibrary
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UFUNCTION(BlueprintCallable, Category = "Agrarian|Editor Automation")
|
|
static AActor* SpawnActorInEditorWorld(TSubclassOf<AActor> ActorClass, const FVector& Location, const FRotator& Rotation, const FString& ActorLabel);
|
|
};
|