You've already forked LuckyWorld
33 lines
688 B
C++
33 lines
688 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Blueprint/UserWidget.h"
|
|
#include "PathfindingSelectorUserWidget.generated.h"
|
|
|
|
class ATargetSelector;
|
|
class USelectGoalUserWidget;
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class LUCKYWORLDV2_API UPathfindingSelectorUserWidget : public UUserWidget
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
ATargetSelector* CreatedTargetSelector;
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
USelectGoalUserWidget* OwnerSelectGoalUserWidget;
|
|
|
|
public:
|
|
UFUNCTION(BlueprintCallable)
|
|
void ClickSelectObjectBtn();
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void AddGoal();
|
|
};
|