-
Notifications
You must be signed in to change notification settings - Fork 3
/
MyBlueprintFunctionLibrary.h
24 lines (19 loc) · 832 Bytes
/
MyBlueprintFunctionLibrary.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "MyBlueprintFunctionLibrary.generated.h"
/**
*
*/
UCLASS()
class PROJECT_API UMyBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintPure, Category = "File Operations", meta = (Keywords = "Load Text File"))
static bool LoadTxt(FString FileNameA, FString& SaveTextA);
UFUNCTION(BlueprintCallable, Category = "File Operations", meta = (Keywords = "Save Text File"))
static bool SaveTxt(FString SaveTextB, FString FileNameB);
UFUNCTION(BlueprintCallable, Category = "Flowers", meta = (Keywords = "Spawn Flowers around Object"))
static void SpawnFlowersAroundObject(AActor* SpawnAroundObject, TSubclassOf<AActor> FlowerClass, int32 NumFlowers);
};