28 lines
527 B
C
28 lines
527 B
C
|
|
// Copyright Echo Devgroup
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
#include "Blueprint/UserWidget.h"
|
||
|
|
#include "AuraUserWidget.generated.h"
|
||
|
|
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
UCLASS()
|
||
|
|
class AURA_API UAuraUserWidget : public UUserWidget
|
||
|
|
{
|
||
|
|
GENERATED_BODY()
|
||
|
|
public:
|
||
|
|
//Create function to set Widget Controller
|
||
|
|
UFUNCTION(BlueprintCallable)
|
||
|
|
void SetWidgetController(UObject* InWidgetController);
|
||
|
|
|
||
|
|
UPROPERTY(BlueprintReadOnly)
|
||
|
|
TObjectPtr<UObject> WidgetController;
|
||
|
|
|
||
|
|
protected:
|
||
|
|
UFUNCTION(BlueprintImplementableEvent)
|
||
|
|
void WidgetControllerSet();
|
||
|
|
};
|