You've already forked LuckyWorld
optimization some umg
This commit is contained in:
@ -11,6 +11,7 @@ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnOpenMenuStateChanged, bool, Open)
|
||||
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnStartCapture);
|
||||
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnStopCapture);
|
||||
|
||||
class UTaskListViewUserWidget;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@ -20,6 +21,7 @@ class LUCKYWORLDV2_API UCaptureSettingsUserWidget : public UUserWidget
|
||||
GENERATED_BODY()
|
||||
protected:
|
||||
virtual void NativeConstruct() override;
|
||||
void OnAnimationFinished(const UWidgetAnimation* Animation);
|
||||
|
||||
public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
@ -38,10 +40,17 @@ public:
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void ToggleMenu();
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void DoStopCapture();
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void ToggleRandomPannel();
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void BPRefreshTaskList();
|
||||
|
||||
public:
|
||||
|
||||
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
||||
void BPOnRandomMeshesUpdated();
|
||||
|
||||
@ -56,4 +65,10 @@ public:
|
||||
|
||||
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
||||
void BPChangeCaptureState();
|
||||
|
||||
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
|
||||
bool CheckIsStopAnim(const UWidgetAnimation* Animation);
|
||||
|
||||
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
|
||||
UTaskListViewUserWidget* GetTaskListViewUserWidget();
|
||||
};
|
||||
|
Reference in New Issue
Block a user