24 lines
677 B
C++
24 lines
677 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
#include "EditorFunctionLibrary.generated.h"
|
|
|
|
/**
|
|
* Library of static functions that can use the editor APIs
|
|
*/
|
|
UCLASS(Abstract, MinimalAPI)
|
|
class UEditorFunctionLibrary : public UBlueprintFunctionLibrary
|
|
{
|
|
GENERATED_BODY()
|
|
};
|
|
|
|
/*
|
|
Note: There is no reason to extend this in c++, it is used as a sentinel type for blueprints
|
|
that want to provide static reusable functions for editing logic. In c++ you can just extend
|
|
UBlueprintFunctionLibrary as normal and put your class in an uncooked or editor only module
|
|
or WITH_EDITOR block.
|
|
*/
|