lyra_game_ue/Source/LyraGame/UI/Common/LyraWidgetFactory.h

25 lines
502 B
C
Raw Normal View History

2025-03-20 11:06:26 +01:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UObject/Object.h"
#include "LyraWidgetFactory.generated.h"
template <class TClass> class TSubclassOf;
class UUserWidget;
struct FFrame;
UCLASS(Abstract, Blueprintable, BlueprintType, EditInlineNew)
class LYRAGAME_API ULyraWidgetFactory : public UObject
{
GENERATED_BODY()
public:
ULyraWidgetFactory() { }
UFUNCTION(BlueprintNativeEvent)
TSubclassOf<UUserWidget> FindWidgetClassForData(const UObject* Data) const;
};