20 lines
650 B
C
20 lines
650 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()
|
||
|
|
class UNREALED_API 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 UEditorSubsystem* GetEditorSubsystem(TSubclassOf<UEditorSubsystem> Class);
|
||
|
|
};
|