23 lines
652 B
C++
23 lines
652 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Templates/SubclassOf.h"
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
#include "EditorSubsystem.h"
|
|
|
|
#include "EditorSubsystemBlueprintLibrary.generated.h"
|
|
|
|
UCLASS(MinimalAPI)
|
|
class UEditorSubsystemBlueprintLibrary : public UBlueprintFunctionLibrary
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
/** Get a Local Player Subsystem from the Local Player associated with the provided context */
|
|
UFUNCTION(BlueprintPure, Category = "Editor Subsystems", meta = (BlueprintInternalUseOnly = "true"))
|
|
static UNREALED_API UEditorSubsystem* GetEditorSubsystem(TSubclassOf<UEditorSubsystem> Class);
|
|
|
|
};
|