Optimize WB_SelectGoalMenu

This commit is contained in:
martinluckyrobots
2025-04-17 13:30:44 +08:00
parent ced6e40acd
commit 500be7ee62
4 changed files with 189 additions and 2 deletions

View File

@ -8,6 +8,7 @@
class UComboBoxString;
class UPathfindingSelectorUserWidget;
class USizeBox;
/**
*
*/
@ -26,14 +27,39 @@ public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
UPathfindingSelectorUserWidget* NavigateSimpleEnvironments;
UPROPERTY(EditAnywhere, BlueprintReadWrite)
UUserWidget* CreatedUserWidget;
public:
FTimerHandle DelayAddGoalTimerHandle;
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool bInitAddOption;
public:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
UFUNCTION(BlueprintCallable)
void DoSelectionChanged(const FString& SelectedItem);
UFUNCTION(BlueprintCallable)
void DoCloseWindow();
UFUNCTION(BlueprintCallable)
void DoAutoConfirm();
UFUNCTION(BlueprintCallable)
void DoAddGoalAndStopTracing();
void DelayAddGoal();
public:
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
UComboBoxString* GetComboBoxString();
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
USizeBox* GetSizeBox();
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void DoSendDetail(const FString& Explanationn);
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void DoSaveGoalsBTNClick();
};