Optimizing some UI

This commit is contained in:
martinluckyrobots
2025-04-15 22:06:41 +08:00
parent 4692cd734e
commit 78f94c5985
13 changed files with 123 additions and 23 deletions

View File

@ -7,8 +7,6 @@
#include "SharedDef.h"
#include "GameUserWidget.generated.h"
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnReset);
class UCaptureSettingsUserWidget;
class USelectGoalUserWidget;
class UAllRandomUserWidget;
@ -42,10 +40,6 @@ public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
FString DownCountStr;
public:
UPROPERTY(BlueprintCallable, BlueprintAssignable, Category = "Event")
FOnReset OnReset;
public:
UFUNCTION(BlueprintCallable)
void DoWaitSecond();
@ -75,6 +69,10 @@ public:
void ToggleShowPath();
void UpdateDownCount();
void OnStartTracing();
void OnEndTracing();
public:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void DoLogItemAdd(const FString& Topic, const FString& MsgText, ELogItemType LogItemType);
@ -87,4 +85,7 @@ public:
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
UAllRandomUserWidget* GetAllRandomUserWidget();
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void BPPlayShowTipAnimation();
};